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

Customising attributes set in the <form> element #161

Open
wilsond-gds opened this issue Feb 20, 2024 · 0 comments
Open

Customising attributes set in the <form> element #161

wilsond-gds opened this issue Feb 20, 2024 · 0 comments

Comments

@wilsond-gds
Copy link

Hello – currently the hmpo-form macro adds three attributes by default which affect the behaviour of form fields:

autocomplete: "off",
novalidate: "true",
spellcheck: "false"

In some places in our service it would be better to set autocomplete behaviour at <input> level rather than globally on the <form> element. Is there a way of either overriding this macro to customise the behaviour, or a setting within the hmpo-components library that would do this? Thank you!

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

No branches or pull requests

1 participant