mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
fix: form not trigger validate for inputnumber, close #4831
This commit is contained in:
parent
42afcbbfbc
commit
3ce5046dd5
@ -54,9 +54,11 @@ const InputNumber = defineComponent({
|
||||
const handleChange = (val: number) => {
|
||||
emit('update:value', val);
|
||||
emit('change', val);
|
||||
formItemContext.onFieldChange();
|
||||
};
|
||||
const handleBlur = () => {
|
||||
emit('blur');
|
||||
formItemContext.onFieldBlur();
|
||||
};
|
||||
onMounted(() => {
|
||||
nextTick(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user