svelte-mui icon indicating copy to clipboard operation
svelte-mui copied to clipboard

Autofill attributes not working for the TextField

Open thakkaryash21 opened this issue 3 years ago • 1 comments

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

thakkaryash21 avatar Mar 28 '23 08:03 thakkaryash21

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.

vikignt avatar Mar 29 '23 23:03 vikignt