La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
If you set an option to required:true you need to type in something in "default".
{
"name": "option_1",
"label": "Option 1",
"required": false, <-- if this is set to true
"locked": false,
"display": "select",
"inline_help_text": "",
"help_text": "",
"choices": [
[ "option1", "Option 1" ],
[ "option1", "Option 2" ]
],
"type": "choice",
"placeholder": "",
"default": "option1" <-- this a) can't be empty and b) has to be one of your selectable values
}
Could you please post the affected JSON part for better support?
If you set an option to required:true you need to type in something in "default".
{
"name": "option_1",
"label": "Option 1",
"required": false, <-- if this is set to true
"locked": false,
"display": "select",
"inline_help_text": "",
"help_text": "",
"choices": [
[ "option1", "Option 1" ],
[ "option1", "Option 2" ]
],
"type": "choice",
"placeholder": "",
"default": "option1" <-- this a) can't be empty and b) has to be one of your selectable values
}
Could you please post the affected JSON part for better support?