Skip to content

Commit

Permalink
fix(ui/input): input 默认trigger方式修改为 onInput onClear
Browse files Browse the repository at this point in the history
affects: @varlet/ui
  • Loading branch information
haoziqaq committed Jan 15, 2021
1 parent 7f8298d commit bbaed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/input/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const props = {
},
validateTrigger: {
type: Array as PropType<Array<ValidateTriggers>>,
default: ['onInput']
default: ['onInput', 'onClear']
},
rules: {
type: Array as PropType<Array<(v: string | number | undefined) => any>>
Expand Down

0 comments on commit bbaed93

Please sign in to comment.