String Awesomplete

Renders an autocomplete featured text input using Awesomplete.js.

Activation Conditions

  • "type": "string"
  • "x-format": "awesomplete"
  • Awesomplete.js must be available (window.Awesomplete)
  • Plugin: Awesomplete.js on GitHub

Plugin Options

Options can be passed to the plugin via "x-awesomplete" keyword

Example

{
  "title": "Awesomplete",
  "type": "string",
  "minLength": 1,
  "x-format": "awesomplete",
  "x-awesomplete": {
    "list": [
      "JavaScript",
      "Java",
      "Python",
      "Ruby",
      "C++",
      "C#",
      "PHP",
      "Swift",
      "Go",
      "Kotlin"
    ],
    "minChars": 1,
    "maxItems": 5,
    "autoFirst": true
  }
}