Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Fix snippets for checkbox and switch activity metadata elements #34

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 18 additions & 30 deletions docs/tailor/developer-guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Code needs to be added in `.activities-rc.json` file, inside of the `OUTLINE_LEV
#### Code example

``` json
meta: [{
"meta": [{
"key": "inputKey",
"type": "INPUT",
"label": "Input field",
Expand All @@ -304,7 +304,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "textareaKey",
"type": "TEXTAREA",
"label": "Description",
Expand All @@ -329,17 +329,11 @@ Add image
#### Code example

``` json
meta: [{
"key": "textareaKey",
"type": "TEXTAREA",
"label": "Description",
"placeholder": "Click to add...",
"validate": {
"rules": {
"required": false,
"max": 250
}
}
"meta": [{
"key": "checkboxKey",
"type": "CHECKBOX",
"label": "Generic checkbox label",
"description": "Description for a checkbox"
}]
```

Expand All @@ -354,17 +348,11 @@ Add image
#### Code example

``` json
meta: [{
"key": "textareaKey",
"type": "TEXTAREA",
"label": "Description",
"placeholder": "Click to add...",
"validate": {
"rules": {
"required": false,
"max": 250
}
}
"meta": [{
"key": "switchKey",
"type": "SWITCH",
"label": "Generic switch label",
"description": "Description for a switch"
}]
```

Expand All @@ -379,7 +367,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "colorKey",
"type": "COLOR",
"label": "Pick a color"
Expand All @@ -397,7 +385,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "selectKey",
"type": "SELECT",
"label": "Select From List",
Expand Down Expand Up @@ -425,7 +413,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "multiselectKey",
"type": "MULTISELECT",
"label": "Objective",
Expand Down Expand Up @@ -454,7 +442,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "datePicker",
"type": "DATETIME",
"label": "date picker"
Expand All @@ -472,7 +460,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "html",
"type": "HTML",
"label": "html with quill"
Expand All @@ -490,7 +478,7 @@ Add image
#### Code example

``` json
meta: [{
"meta": [{
"key": "file",
"type": "FILE",
"label": "File Upload",
Expand Down