-
-
Notifications
You must be signed in to change notification settings - Fork 19
Add optional schema definitions to data skeleton #25
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently the "schema" of a templates data is derived kinda vaguely from the data skeleton. This is a relic from S&D just being a small proof-of-concept type of application at the beginning. Defining a image in the data skeleton already introduced a additional syntax inside the JSON.
{
"icon": "!IMAGE"
}it the future it should be possible to OPTIONALLY define what input should be shown for a field + some kind of default value for a preview while editing. A example to illustrate the idea:
{
"name": "!TEXT=Default Name",
"description": "!TEXTAREA=Some long default text",
"number": "!NUMBER=0",
"dropdown": "!DROPDOWN:A,B,C=A"
}That way we can map custom components to the same data types and which should make entry creation and editing more pleasant.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request