We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example: emt('filedBlur', true) when ItInput loses focus.
Can't tell Itinput lost focus when I want to do an assembly of Itinput and async-validator
<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) }
No response
The text was updated successfully, but these errors were encountered:
FormItem.vue `<script setup lang="ts"> const props = defineProps({ prop: { type: String, default: null, } }) const message = ref() const status = ref() const errorFields: any = inject('errorFields') watch(errorFields, (val: any) => { if (val[props.prop]) { message.value = val[props.prop][0].message status.value = 'danger' } else { message.value = null status.value = null } }) </script>
How to get the ItInput loses focus event or the value changes in FormItem?
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
No response
The text was updated successfully, but these errors were encountered: