fix(assigned field):dynamic value validation error when assigned field (#2117)
This commit is contained in:
parent
d71fed0471
commit
d9902a4055
@ -158,6 +158,10 @@ export const AssignedField = (props: any) => {
|
|||||||
|
|
||||||
const typeChangeHandler = (val) => {
|
const typeChangeHandler = (val) => {
|
||||||
setType(val);
|
setType(val);
|
||||||
|
if (val === AssignedFieldValueType.DynamicValue) {
|
||||||
|
field.validator = null;
|
||||||
|
field.form.clearErrors();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const valueChangeHandler = (val) => {
|
const valueChangeHandler = (val) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user