Skip to content

Customising attributes set in the <form> element #161

@wilsond-gds

Description

@wilsond-gds

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions