2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/schemas/core/CustomField.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

144 lines
2.7 KiB
JSON
Raw Normal View History

{
"name": "CustomField",
"label": "Custom Field",
"isChild": true,
"fields": [
{
"fieldname": "label",
"label": "Label",
"fieldtype": "Data",
"required": true
},
{
"fieldname": "fieldname",
"label": "Fieldname",
"fieldtype": "Data",
"required": true
},
{
"fieldname": "fieldtype",
"label": "Fieldtype",
"fieldtype": "Select",
"options": [
{
"label": "Data",
"value": "Data"
},
{
"label": "Select",
"value": "Select"
},
{
"label": "Link",
"value": "Link"
},
{
"label": "Date",
"value": "Date"
},
{
"label": "Date Time",
"value": "Datetime"
},
{
"label": "Table",
"value": "Table"
},
{
"label": "Autocomplete",
"value": "AutoComplete"
},
{
"label": "Check",
"value": "Check"
},
{
"label": "Attach Image",
"value": "AttachImage"
},
{
"label": "Dynamic Link",
"value": "DynamicLink"
},
{
"label": "Int",
"value": "Int"
},
{
"label": "Float",
"value": "Float"
},
{
"label": "Currency",
"value": "Currency"
},
{
"label": "Text",
"value": "Text"
},
{
"label": "Color",
"value": "Color"
},
{
"label": "Attachment",
"value": "Attachment"
}
],
"default": "Data",
"required": true
},
{
"fieldname": "isRequired",
"label": "Is Required",
"fieldtype": "Check",
"default": false
},
{
"fieldname": "default",
"label": "Default",
"fieldtype": "Data"
},
{
"fieldname": "section",
"label": "Form Section",
"fieldtype": "Data",
"default": "Default"
},
{
"fieldname": "tab",
"label": "Form Tab",
"fieldtype": "Data",
"default": "Custom"
},
{
"fieldname": "options",
"label": "Options",
"fieldtype": "Text"
},
{
"fieldname": "target",
"label": "Target",
"fieldtype": "AutoComplete"
},
{
"fieldname": "references",
"label": "References",
"fieldtype": "AutoComplete"
}
],
"tableFields": ["label", "fieldname", "fieldtype", "isRequired"],
"quickEditFields": [
"label",
"fieldname",
"fieldtype",
"isRequired",
"default",
"options",
"target",
"references",
"section",
"tab"
]
}