ui icon indicating copy to clipboard operation
ui copied to clipboard

Can't pass props to inputs

Open jonian opened this issue 3 years ago • 2 comments

Hi, I'm trying to set min and max to an input with type number. Checking the code for the input component, it looks like there is no way of doing it.

Please consider using v-bind="$attrs" on the input element or adding a prop inputProps. Thanks!

jonian avatar Jun 11 '23 10:06 jonian

Submit a quick PR perhaps?

robmpreston avatar Jun 11 '23 17:06 robmpreston

You're right, this should have been done already. I'm afraid this will create a small breaking change because we'll need to add inheritAttrs: false to those components.

benjamincanac avatar Jun 12 '23 08:06 benjamincanac