Mark the field with product or category as mandatory
[MAILPOET-3848]
This commit is contained in:
@@ -59,6 +59,9 @@ export const EventOptions = ({
|
|||||||
selected: () => selected,
|
selected: () => selected,
|
||||||
getLabel: _.property('name'),
|
getLabel: _.property('name'),
|
||||||
getValue: _.property('id'),
|
getValue: _.property('id'),
|
||||||
|
validation: {
|
||||||
|
'data-parsley-required': true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
onValueChange: handleEventOptionChange,
|
onValueChange: handleEventOptionChange,
|
||||||
item: {
|
item: {
|
||||||
|
Reference in New Issue
Block a user