Equal icon indicating copy to clipboard operation
Equal copied to clipboard

[ Feature Request ] Can form related elements add some event triggers?

Open rdzhaox opened this issue 3 years ago • 1 comments

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

rdzhaox avatar Jan 18 '22 07:01 rdzhaox

FormItem.vue `

`

How to get the ItInput loses focus event or the value changes in FormItem?

rdzhaox avatar Jan 19 '22 13:01 rdzhaox