Since browsers typically do not send disabled form elements on
form submit, it's probably improper behavior to include them when
constructing a structured object regardless of the value of skipEmpty.
Added a check for a node's disabled property that returns an empty
array, thus preventing it from being added to formValues.
Since browsers typically do not send disabled form elements on form submit, it's probably improper behavior to include them when constructing a structured object regardless of the value of skipEmpty.
Added a check for a node's disabled property that returns an empty array, thus preventing it from being added to formValues.