Use radio buttons instead of checkboxes in Featured Category control (https://github.com/woocommerce/woocommerce-blocks/pull/756)
This commit is contained in:
parent
0c0fc8be3b
commit
9d4a76c841
|
@ -221,7 +221,7 @@ class FeaturedCategory extends Component {
|
|||
const id = value[ 0 ] ? value[ 0 ].id : 0;
|
||||
setAttributes( { categoryId: id, mediaId: 0, mediaSrc: '' } );
|
||||
} }
|
||||
multiple={ false }
|
||||
isSingle
|
||||
/>
|
||||
<Button isDefault onClick={ onDone }>
|
||||
{ __( 'Done', 'woo-gutenberg-products-block' ) }
|
||||
|
|
Loading…
Reference in New Issue