Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Add additional attributes and classes to form fields #11

Description

@benedictdudel

Hey,

what do you think about adding some HTML attributes like required or CSS classes to form fields. This would improve the accessibility for users and developers can customize the appearance of the form fields e.g. drawing a red border for invalid form fields.

Do you have a quick solution on how to add class to the form field if its invalid? The function fieldInvalid(form) will determine if the field is invalid but how can I use the function to add a class for example for a text field?

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