Takachi67 / vue3-autocomplete

Vue3 component used to search and select an item in a custom list.
31 stars 17 forks source link

added v-bind $attrs to input so we can bind standard non-prop html attrs to the input #11

Closed blwasham closed 3 years ago

blwasham commented 3 years ago

This should allow for consumers to pass in non-prop attrs such as placeholder, value, style, class, etc... into the input. This should allow setItem callback to properly set the "value" on the input rather than on the wrapping component root element (div) when a user selects an item from results list.