Checkout: Fix city input field showing country value (II) (https://github.com/woocommerce/woocommerce-blocks/pull/1580)
This commit is contained in:
parent
dfc963b545
commit
3f0368e63b
|
@ -197,11 +197,11 @@ const Block = ( { shippingMethods = [], isEditor = false } ) => {
|
|||
'City',
|
||||
'woo-gutenberg-products-block'
|
||||
) }
|
||||
value={ shippingFields.country }
|
||||
value={ shippingFields.city }
|
||||
onChange={ ( newValue ) =>
|
||||
setShippingFields( {
|
||||
...shippingFields,
|
||||
country: newValue,
|
||||
city: newValue,
|
||||
} )
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue