I have createa custom renderer to handle any control with “autocomplete: true” in options. So any string or number is displayed using autocomplete control.
Now I have array of strings and I am trying to get an item of this array rendered using my custom autocomplete renderer.
“ids”: {
“type”: “array”,
“description”: “The list of principal IDs”,
“items”: {
“type”: “string”
}
}
I tried using some of the options following examples but no luck. I tried
{
“type”: “Control”,
“scope”: “#/properties/principal_ids”,
“detail”:{
“elements”:[
{
“type”: “Control”,
“scope”: “#”,
“options”: {
“autocomplete”: true
}
}
]
}
}
but it didnt work. Please let me know how it can be done