form-js icon indicating copy to clipboard operation
form-js copied to clipboard

setValue() on a disabled Dropdown in Firefox

Open markcellus opened this issue 10 years ago • 0 comments

Firefox throws an "NS_ERROR_UNEXPECTED" error when trying to call .setValue() on a dropdown that is disabled, pointing to https://github.com/mkay581/formjs/blob/1.9.2/src/dropdown.js#L609

Should we assume that if you call .setValue() on a Dropdown, you're intending to enable it?

markcellus avatar Jun 04 '15 12:06 markcellus