Conversation
|
Are we sure this is the right behaviour?
I feel like it will catch some ppl off guard and might be a breaking change... With this it's not possible to have an 'unselected' selectbox anymore, right? |
I'm quite sure about it. Let's say we have this select: <select>
<option>lorem</option>
<option>ipsum</option>
<option>dolor</option>
<select>In this case, the first option will be selected. The only way to change its state to unselected is set a non-existing value through javascript, or change its selectedIndex to -1.
Yes, I agree. But it has been worked incorrectly until now. If I were to strictly follow semantic versioning, I would need to increase the major version now, right? Actually, I'm a bit clueless how I should handle this situation correctly. |
|
Yeah with strict semantic versioning you would have to but I don't think it's important to follow it. But it might be a good idea to make it a minor instead of a patch because this is a behaviour change vs just a bug fix. Just my opinion though |
Fix #237