Mark the field with product or category as mandatory

[MAILPOET-3848]
This commit is contained in:
Jan Lysý
2021-10-13 13:19:05 +02:00
committed by Veljko V
parent dfd4fc5551
commit dccfc98792

View File

@@ -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: {