Select
Check the settings Schema and add the following inside the Settings object.
//settings: {
{
"key": {
"type": "select",
"label": {
"ar": "العنوان",
"en": "text"
},
"options": [
{
"value": "all",
"label": {
"ar": "جميع الصفحات",
"en": "all pages"
}
},
{
"value": "home",
"label": {
"ar": "الصفحة الرئيسية ففط",
"en": "home page only"
}
}
],
"default": "all",
"info": {
"ar": "نص توضيحي",
"en": "info text"
}
}
}
//}
Last modified: 4 months ago