fix: `disabledOnChangeListener` not work in form (#5146)
parent
ce4af37fd8
commit
22c1f86ca1
|
@ -231,11 +231,10 @@ function fieldBindEvent(slotProps: Record<string, any>) {
|
|||
...(disabledOnInputListener ? { onInput: undefined } : {}),
|
||||
};
|
||||
}
|
||||
return disabledOnInputListener
|
||||
? {
|
||||
onInput: undefined,
|
||||
}
|
||||
: {};
|
||||
return {
|
||||
...(disabledOnInputListener ? { onInput: undefined } : {}),
|
||||
...(disabledOnChangeListener ? { onChange: undefined } : {}),
|
||||
};
|
||||
}
|
||||
|
||||
function createComponentProps(slotProps: Record<string, any>) {
|
||||
|
|
Loading…
Reference in New Issue