Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autocomplete attribute #213

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

felipefreitag
Copy link
Contributor

@felipefreitag felipefreitag commented Jul 18, 2023

#53

  • Add autoComplete to Fields
  • Add autoComplete support to renderField (?)
    I think this already covers all cases, I don't see why we would need to pass the prop via renderField

@netlify
Copy link

netlify bot commented Jul 18, 2023

Deploy Preview for remix-forms ready!

Name Link
🔨 Latest commit 1c7e0aa
🔍 Latest deploy log https://app.netlify.com/sites/remix-forms/deploys/64b70dbbb5faa1000801a2e0
😎 Deploy Preview https://deploy-preview-213--remix-forms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -78,6 +78,7 @@ type FieldBaseProps<Schema extends SomeZodObject> = Omit<
> & {
name: keyof z.infer<Schema>
type?: JSX.IntrinsicElements['input']['type']
autoComplete?: JSX.IntrinsicElements['input']['autoComplete']
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find a more specific type, I accept suggestions here

@felipefreitag felipefreitag marked this pull request as ready for review July 19, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant