svelte-mui
svelte-mui copied to clipboard
Autofill attributes not working for the TextField
Hello,
While using the Textfield as a part of the form, even though the required attributes are given with the Textfield, the browser autofill suggestions dont show up. On inspecting, I noticed that the attributes are getting applied to the input element but the autofill dropdown does not work. I am trying to use it for collecting basic user information such as name, mobile number, email and address
Really appreciate any leads! Thank you
Hello @thakkaryash21,
You must set the name attribute, like
<Textfield bind:value={q} name="search" filled label="Search" message="Enter search string" />
Sorry for the long answer.