Skip to content

Form-associated custom elements: being a submit button #814

@domenic

Description

@domenic

See discussion starting around #187 (comment).

If you want your FACE to be a submit button, which means:

  • Can be selected by :default
  • Can be automatically clicked by the implicit submission of other form elements

you currently cannot.

A strawperson proposal would be to add a submitButton boolean to ElementInternals. Then custom submit buttons would just do this.#internals.submitButton = true.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions