Skip to content

Autocomplete

autocomplete

Description

Autocomplete type ahead control

Attributes

  • default
  • enum: Actual choices
  • $capture.sort: true | false
  • $capture.transform: capitalize | upper | de-kebab
  • $capture.placeholder: Placeholder for autocomplete
  • $capture.addCustom: Placeholder for Custom field

Example

{
  "type": "string",
  "$capture": {
    "as": "autocomplete",
    "sort": true,
    "transform": "capitalize",
    "placeholder": "Enter selection value",
    "addCustom": "create new field"
  },
  "$display": {
    "as": "value"
  },
  "title": "Auto complete metrics"
}