mamund / hal-forms

backward-compatible extension for HAL to support dynamic forms at runtime.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support for enums in forms

mamund opened this issue · comments

(per @evert in #34)

"Support for an enum or options property. options could be used as follows:"

{
  "name": "color",
  "options": {
    "#F00": "red",
    "#0F0": "green",
    "#00F": "blue"
  }
}

closing this one since the feature is described in #9.