-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
Description
Version
3.2.22
Reproduction link
Steps to reproduce
Inspect the select options and see that the option with value === textContent
has no value set.
What is expected?
Regardless of the textContent I expected an option to correctly have the value attribute and not silently remove it.
What is actually happening?
The value attribute is removed.
I have verified that this is not happening in vue2. Reproduction link
If I'm missing some part of the option spec please point me to it. But as far as I am seeing it it is perfectly valid to have an option with value = textContent and I our case needed for e2e testing frameworks like Selenium to select a predefined value.