Skip to content

Svelte docs: document defaultValue #16530

@theetrain

Description

@theetrain

Special element attributes defaultValue and defaultChecked (maybe there are others?) don't appear to be documented. I could see this being its own page, or an addendum to some existing pages.

I see these as special since although they've available through the DOM API, Svelte allows them to be set as attributes that work well with bind:value or assigning value to either a string or nullish value.

Applicable pages:

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