Skip to content

Select binding by value

Choose a tag to compare

@g105b g105b released this 30 Jan 14:50
822e7b3

Along with some dependency upgrades, the extra functionality introduced in this release allows an HTMLSelectElement to have its value bound, so the relevant HTMLOptionElement is selected. This works using the value attribute whether or not the option has a value - without a value, the textContent of the option will be used.