Skip to content

Select element: change defaultValue to value ? #13

Description

@samrae7

We were trying to programmatically update the selected value of a select (based on a user action elsewhere on the form).

This didn't seem to work because selects do not update their defaultValue when the value changes (obviously), so value changes but this can't be seen on the page because defaultValue is the same.

The workaround we can find is changing defaultValue to value on ISelect, which we think works for this library because the aim is to allow updating element values in the way described above

Does this make sense?

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