- From: Jamesie Pic <jpic@yourlabs.org>
- Date: Sat, 3 Mar 2018 15:28:21 +0100
- To: www-dom@w3.org
Received on Monday, 5 March 2018 19:18:38 UTC
Hello everybody ! This is my first post and i'm not sure this is the right mailing list, please bare with me friends <3 Currently, .value is a string even for a multiple select. You can use it to get the "first selected item value or an empty string if there is no selected item". As setter it's not any better. https://jsfiddle.net/uhfsc6qg/6/ I refuse to believe that anyone in the world is currently relying on .value as a getter or setter for a multiple select. How can anyone make any sense out of it ? ..value should deal with the actual field value, even if it can be multiple, which means an array. This would make sense: selectMultiple.value = ['a', 'b'] What can be done ? Thanks -- ∞
Received on Monday, 5 March 2018 19:18:38 UTC