vue-tel-input
vue-tel-input copied to clipboard
event from @blur/@focus ?
Would it be possible to get something more exploitable from @blur and @focus props than an empty []
?
Example usecase: applying some customValidator @blur, and a resetError @ focus.
Suggestions: Please fill that array with event.target from dropdown for index 0, and the input from for index 1
Or even better, an explicit object with this interface :
{ dropdownEvent?: EventTarget, inputEvent?: EventTarget }
Or another idea: reuse the @validate
event, adding a 2nd param trigger: 'onInput' | 'onBlur'
(default: 'onBlur')
Or another idea: reuse the @validate event, adding a 2nd param trigger: 'onInput' | 'onBlur' (default: 'onBlur')
This idea would be very useful.