Skip to content

Problem with titleMap and select #23

Closed
@chachou29

Description

@chachou29

Hello,

form :
 [
    {
      "key": "choice",
      "type": "select",
      "titleMap": {
        "one": "One",
        "two": "More..."
      }
    }
  ]

schema :

{
    "type": "object",
    "properties": {
      "choice": {
        "type": "string"
      }
    }
}

is not working. Dropdown is empty.
but if you change "select" type to "radios" or "radiobuttons", it works fine !
I think the problem is with titleMap, if you use an "enum" in the schema then "select" works fine.

Thank you !
Philippe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions