File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
development/src/ant-phone Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -242,21 +242,21 @@ const PhoneInput = forwardRef(({
242
242
value = { selectValue }
243
243
style = { { display : "none" } }
244
244
key = { `${ countryCode } _default` }
245
- label = { < >
245
+ label = { < div style = { { display : "flex" } } >
246
246
< div className = { `flag ${ countryCode } ` } />
247
247
{ suffixIcon }
248
- </ > }
248
+ </ div > }
249
249
/>
250
250
{ countriesList . map ( ( [ iso , name , dial , pattern ] ) => {
251
251
const mask = disableParentheses ? pattern . replace ( / [ ( ) ] / g, "" ) : pattern ;
252
252
return (
253
253
< Select . Option
254
254
value = { iso + dial }
255
255
key = { `${ iso } _${ mask } ` }
256
- label = { < >
256
+ label = { < div style = { { display : "flex" } } >
257
257
< div className = { `flag ${ iso } ` } />
258
258
{ suffixIcon }
259
- </ > }
259
+ </ div > }
260
260
children = { < div className = { `${ prefixCls } -phone-input-select-item` } >
261
261
< div className = { `flag ${ iso } ` } />
262
262
{ countries [ name ] } { displayFormat ( mask ) }
You can’t perform that action at this time.
0 commit comments