Skip to content

Two-way binding select does not allow for dynamic multiple attribute #1270

@rspieker

Description

@rspieker

The two-way binding on multiple select elements don't take a dynamically set multiple-attribute into consideration.
Maybe this is as intended, in which case it appears to be missing from the documentation (or I simply overlooked it).

A simple REPL to demonstrate the behavior.

Short examples:

  • Works: <select bind:value multiple>
  • Doesn't: <select bind:value :multiple>
  • Doesn't:<select bind:value multiple="{{ multiple }}">

As for browsers, the behavior is consistent across browsers, tested in Firefox 60, Brave 0.21, Electron 1.8.3 (Chromium 59)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions