Open dleeftink opened 2 years ago
Currently, Inputs.bind works fine for Inputs.select when{multiple:true}, but falls back to a single value when binding two vanilla HTML select boxes like so:
Inputs.bind
Inputs.select
{multiple:true}
source = html`<select multiple><option>Aa</option><option>Bee</option></select>`
target = html`<select multiple><option>Aa</option><option>Bee</option></select>`
Inputs.bind(target, source)
This might be intended behaviour, but it would be useful if selectedOptions for two vanilla select boxes could be bound as well.
selectedOptions
Currently,
Inputs.bind
works fine forInputs.select
when{multiple:true}
, but falls back to a single value when binding two vanilla HTML select boxes like so:This might be intended behaviour, but it would be useful if
selectedOptions
for two vanilla select boxes could be bound as well.