Equal
Equal copied to clipboard
[ Feature Request ] Can form related elements add some event triggers?
Is your feature request related to a problem? Please describe.
For example: emt('filedBlur', true) when ItInput loses focus.
Describe the solution you'd like
Can't tell Itinput lost focus when I want to do an assembly of Itinput and async-validator
Describe alternatives you've considered
<input @focus="handleFocus"
@blur="handleBlur" **** />
const handleFocus = (event: FocusEvent) => {
focused.value = true
emit('focus', event)
}
const handleBlur = (event: FocusEvent) => {
focused.value = false
emit('blur', event)
}
Additional context
No response
FormItem.vue `
How to get the ItInput loses focus event or the value changes in FormItem?