Add size componentStyle options to form controls

This commit is contained in:
Maurits Lourens 2021-07-29 16:21:02 +02:00
parent 64525c1804
commit da01126077
1 changed files with 11 additions and 0 deletions

View File

@ -1679,6 +1679,7 @@
"name": "Field Group", "name": "Field Group",
"icon": "Group", "icon": "Group",
"illegalChildren": ["section"], "illegalChildren": ["section"],
"styles": ["size"],
"hasChildren": true, "hasChildren": true,
"settings": [ "settings": [
{ {
@ -1707,6 +1708,7 @@
"name": "Text Field", "name": "Text Field",
"icon": "Text", "icon": "Text",
"illegalChildren": ["section"], "illegalChildren": ["section"],
"styles": ["size"],
"settings": [ "settings": [
{ {
"type": "field/string", "type": "field/string",
@ -1734,6 +1736,7 @@
"numberfield": { "numberfield": {
"name": "Number Field", "name": "Number Field",
"icon": "123", "icon": "123",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1762,6 +1765,7 @@
"passwordfield": { "passwordfield": {
"name": "Password Field", "name": "Password Field",
"icon": "LockClosed", "icon": "LockClosed",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1790,6 +1794,7 @@
"optionsfield": { "optionsfield": {
"name": "Options Picker", "name": "Options Picker",
"icon": "ViewList", "icon": "ViewList",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1819,6 +1824,7 @@
"booleanfield": { "booleanfield": {
"name": "Checkbox", "name": "Checkbox",
"icon": "Checkmark", "icon": "Checkmark",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1847,6 +1853,7 @@
"longformfield": { "longformfield": {
"name": "Rich Text", "name": "Rich Text",
"icon": "TextParagraph", "icon": "TextParagraph",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1876,6 +1883,7 @@
"datetimefield": { "datetimefield": {
"name": "Date Picker", "name": "Date Picker",
"icon": "DateInput", "icon": "DateInput",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1910,6 +1918,7 @@
"attachmentfield": { "attachmentfield": {
"name": "Attachment", "name": "Attachment",
"icon": "Attach", "icon": "Attach",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -1933,6 +1942,7 @@
"relationshipfield": { "relationshipfield": {
"name": "Relationship Picker", "name": "Relationship Picker",
"icon": "TaskList", "icon": "TaskList",
"styles": ["size"],
"illegalChildren": ["section"], "illegalChildren": ["section"],
"settings": [ "settings": [
{ {
@ -2066,6 +2076,7 @@
"daterangepicker": { "daterangepicker": {
"name": "Date Range", "name": "Date Range",
"icon": "Date", "icon": "Date",
"styles": ["size"],
"hasChildren": false, "hasChildren": false,
"info": "Your data provider will be automatically filtered to the given date range.", "info": "Your data provider will be automatically filtered to the given date range.",
"settings": [ "settings": [