brutusin / json-forms

JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
http://brutusin.org/json-forms
Apache License 2.0
606 stars 168 forks source link

fix IE issue setting type to date #105

Open fuhrysteve opened 6 years ago

fuhrysteve commented 6 years ago

Hello folks! It looks like IE blows up when you try to set Element.type directly as an input type that is unsupported (such as "date"). This change forces it to update the input type even if it's technically unsupported.

See the stack trace below:

selection_010