mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-10 08:26:38 +00:00
* Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
15 lines
366 B
JSON
15 lines
366 B
JSON
{
|
|
"title": "Text Field",
|
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
|
"type": "object",
|
|
"required": [
|
|
"firstName"
|
|
],
|
|
"properties": {
|
|
"firstName": {
|
|
"type": "string",
|
|
"title": "First name",
|
|
"default": "Chuck"
|
|
}
|
|
}
|
|
} |