You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in the latest version, enum properties are not rendered as select elements, but as regular inputs instead. It still works in the live demo, however the code there seems outdated.
This is probably because in JSONSchema the type of an enum is (I think) always string, but never enum. However in the control template's ng-switch-when, the select input is only rendered when the schemaType equals enum.
I have prepared a pull request which should fix the problem. I will submit it later.
The text was updated successfully, but these errors were encountered:
Hi, in the latest version, enum properties are not rendered as select elements, but as regular inputs instead. It still works in the live demo, however the code there seems outdated.
This is probably because in JSONSchema the type of an enum is (I think) always
string
, but neverenum
. However in the control template'sng-switch-when
, the select input is only rendered when theschemaType
equalsenum
.I have prepared a pull request which should fix the problem. I will submit it later.
The text was updated successfully, but these errors were encountered: