fix: don't sanitize defaults and options (#25939)

This commit is contained in:
David Arnold 2024-04-15 14:09:48 +02:00 committed by GitHub
parent a6b0401238
commit a99c4ff2b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View file

@ -228,6 +228,7 @@
"description": "For Links, enter the DocType as range.\nFor Select, enter list of Options, each on a new line.",
"fieldname": "options",
"fieldtype": "Small Text",
"ignore_xss_filter": 1,
"in_list_view": 1,
"label": "Options",
"oldfieldname": "options",
@ -236,6 +237,7 @@
{
"fieldname": "default",
"fieldtype": "Small Text",
"ignore_xss_filter": 1,
"label": "Default",
"max_height": "3rem",
"oldfieldname": "default",
@ -582,7 +584,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2024-03-23 16:02:18.210626",
"modified": "2024-04-12 16:27:34.546314",
"modified_by": "Administrator",
"module": "Core",
"name": "DocField",
@ -592,4 +594,4 @@
"sort_field": "creation",
"sort_order": "ASC",
"states": []
}
}

View file

@ -143,6 +143,7 @@
{
"fieldname": "options",
"fieldtype": "Small Text",
"ignore_xss_filter": 1,
"in_list_view": 1,
"label": "Options",
"oldfieldname": "options",
@ -186,6 +187,7 @@
{
"fieldname": "default",
"fieldtype": "Text",
"ignore_xss_filter": 1,
"label": "Default Value",
"oldfieldname": "default",
"oldfieldtype": "Text"
@ -464,7 +466,7 @@
"idx": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-03-23 16:02:15.143117",
"modified": "2024-04-12 16:25:50.349736",
"modified_by": "Administrator",
"module": "Custom",
"name": "Custom Field",
@ -498,4 +500,4 @@
"sort_order": "DESC",
"states": [],
"track_changes": 1
}
}