Open djstein opened 1 year ago
after switching over to the the react-form-hooks based inputs from https://ui.shadcn.com/docs/forms/react-hook-form I have noticed that autocomplete for anything except username and password is not working. based on the MDN doc: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete I am unable to determine what is missing for it to activate.
Note: In order to provide autocompletion, user-agents might require <input>\<select>\<textarea> elements to: Have a name and/or id attribute Be descendants of a <form> element The form to have a submit button
Note: In order to provide autocompletion, user-agents might require <input>\<select>\<textarea> elements to:
<input>\<select>\<textarea>
Have a name and/or id attribute
Be descendants of a <form> element
<form>
The form to have a submit button
any thoughts on this?
Hm, React Hook Form doesn't do anything regarding the autocomplete functionally except potentially pass down your field name as a name prop. Additionally, the underling Input component is the same shadcn/ui Input
name
Input
after switching over to the the react-form-hooks based inputs from https://ui.shadcn.com/docs/forms/react-hook-form I have noticed that autocomplete for anything except username and password is not working. based on the MDN doc: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete I am unable to determine what is missing for it to activate.
any thoughts on this?