Fix parsing values of option elements in forms #162

Merged
BehindTheMath merged 2 commits from fix/form-option-element into master 2018-05-30 14:39:09 -05:00

2 Commits

Author SHA1 Message Date
Behind The Math
29d7b4c664 Don't send an <option> tag if it's disabled, even if it's selected 2018-05-29 22:24:31 -04:00
Behind The Math
5885d76f37 Fix a bug where the value of <option> would not get sent if falsy
According to the spec, the value attribute should be sent if it
exists, even if it's falsy.
2018-05-29 22:24:31 -04:00