Skip to content

Conversation

kshepard
Copy link
Contributor

@kshepard kshepard commented Sep 3, 2015

PR #461 added empty options to non-required select boxes, but it didn't do so for dynamic select boxes (those with watched fields). This commit adds that capability.

@jdorn
Copy link
Owner

jdorn commented Sep 27, 2015

This change seems to have a bug. If the empty option is selected, the field should not appear in the resulting JSON value. Right now, the field still shows up, but as an empty string.

@kshepard kshepard force-pushed the feature/empty-option-dynamic branch from 3a58d24 to 8ca8ae9 Compare October 7, 2015 15:52
@kshepard
Copy link
Contributor Author

kshepard commented Oct 7, 2015

@jdorn: good call, thanks. It was using an empty string as the value when it should have been using undefined. I've updated this PR accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants