ui
ui copied to clipboard
autocomplete issues with react-form-hooks
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>elementThe 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
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.