v-money3 icon indicating copy to clipboard operation
v-money3 copied to clipboard

Possibility to enable inheritAttrs

Open matheusilva opened this issue 1 year ago • 1 comments

I would like to know if it's possible to enable this feature because in my use case, I perform some validations on events when entering and exiting the field (focus/blur/click). Since attribute inheritance is disabled and there are no listener declarations in the component, I am unable to use this component.

Note: I am migrating the application from Vue 2 to Vue 3.

matheusilva avatar Sep 01 '23 20:09 matheusilva

It is handled here: https://github.com/jonathanpmartins/v-money3/blob/ad029f9f838d7f8521daa772ac8a670adad22130/src/component.vue#L4

And here: https://github.com/jonathanpmartins/v-money3/blob/ad029f9f838d7f8521daa772ac8a670adad22130/src/component.vue#L202-L211

All properties you include in the component should be passed down to the input element. Your focus, blur, or click events should work properly.

Have you encountered any issues during your migration?

jonathanpmartins avatar Jan 30 '24 23:01 jonathanpmartins