fix: trigger form change when collections are being added to list of product collections (#987)
* fix: trigger form change when collections are being added to list of product collections * fix: eslint and prettier Co-authored-by: danilofatcat <danilo.gacevic@fatcatcoders.com>
This commit is contained in:
parent
e5e5c638ad
commit
0af427e36e
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ function useProductUpdateForm(
|
|||
triggerChange();
|
||||
};
|
||||
const handleCollectionSelect = createMultiAutocompleteSelectHandler(
|
||||
form.toggleValue,
|
||||
event => form.toggleValue(event, triggerChange),
|
||||
opts.setSelectedCollections,
|
||||
opts.selectedCollections,
|
||||
opts.collections
|
||||
|
|
Loading…
Reference in a new issue