angular-dynamic-forms icon indicating copy to clipboard operation
angular-dynamic-forms copied to clipboard

Selects have weird option tag (ex. <option value="? string:30 ?" />) when model has data

Open jhachey opened this issue 11 years ago • 1 comments

If the select input's model contains data, then angular creates an odd option tag with a cryptic value and no label.

Example: <option value="? string:30 ?" />

This results in a blank option being displayed at the top of the option list. Strange enough, this option will then disappear once another option is selected in the browser.

See link below for similar issue and resolution: http://stackoverflow.com/questions/16783294/angular-adds-strange-options-into-select-element-when-setting-model-value

jhachey avatar Jun 20 '14 19:06 jhachey

I don't see an actual resolution at that link, though the issue seems to be similar. Could you elaborate further?

danhunsaker avatar Nov 11 '14 14:11 danhunsaker