matyunya / smelte

UI framework with material components built with Svelte and Tailwind CSS
https://smeltejs.com/
MIT License
1.53k stars 114 forks source link

TextField does not pass autocomplete attribute to input #249

Open nacardin opened 3 years ago

nacardin commented 3 years ago

I would like to be able to set autocomplete on the input of a TextField, however the autocomplete prop is not being passed to the input. It seems to be used to determine whether to add the select class, I don't understand why it does this. I believe the fix is to remove the autocomplete prop export and let it propagate to the input.