Skip to content

Commit

Permalink
chore(examples): gno forms readme markdown table formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
agherasie committed Aug 2, 2024
1 parent 8da6592 commit 10e6843
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/gno.land/p/demo/forms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ gno-forms is a package which demonstrates a form editing and sharing application
## Field Types
The system supports the following field types:

type|example
-|-
string|`{"label": "Name", "fieldType": "string", "required": true}`
number|`{"label": "Age", "fieldType": "number", "required": true}`
boolean|`{"label": "Is Student?", "fieldType": "boolean", "required": false}`
choice|`{"label": "Favorite Food", "fieldType": "[Pizza\|Schnitzel\|Burger]", "required": true}`
multi-choice|`{"label": "Hobbies", "fieldType": "{Reading\|Swimming\|Gaming}", "required": false}`
| type | example |
|--------------|-------------------------------------------------------------------------------------------------|
| string | `{"label": "Name", "fieldType": "string", "required": true}` |
| number | `{"label": "Age", "fieldType": "number", "required": true}` |
| boolean | `{"label": "Is Student?", "fieldType": "boolean", "required": false}` |
| choice | `{"label": "Favorite Food", "fieldType": "['Pizza', 'Schnitzel', 'Burger']", "required": true}` |
| multi-choice | `{"label": "Hobbies", "fieldType": "{'Reading', 'Swimming', 'Gaming'}", "required": false}` |

## Web-app

Expand Down

0 comments on commit 10e6843

Please sign in to comment.