Skip to content

Commit 670b1db

Browse files
authored
Merge pull request #20 from Remi-Gau/textArea
[ENH] add text area item
2 parents 7928c15 + 7ec2bb8 commit 670b1db

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

activities/Activity3/Activity3_schema

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,20 @@
2323
"reproschema:Skipped"
2424
]
2525
},
26-
{"isAbout": "items/text_item",
26+
{"isAbout": "items/text_item",
2727
"variableName": "text_item",
2828
"isVis": true,
2929
"allow": [
3030
"reproschema:Skipped"
3131
]
3232
},
33+
{"isAbout": "items/textarea_item",
34+
"variableName": "textarea_item",
35+
"isVis": true,
36+
"allow": [
37+
"reproschema:Skipped"
38+
]
39+
},
3340
{"isAbout": "items/participant_id_item",
3441
"variableName": "participant_id_item",
3542
"isVis": true,
@@ -56,6 +63,7 @@
5663
"items/integer_item",
5764
"items/float_item",
5865
"items/text_item",
66+
"items/textarea_item",
5967
"items/multitext_item",
6068
"items/participant_id_item",
6169
"items/email_item"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc2/contexts/generic",
3+
"@type": "reproschema:Field",
4+
"@id": "textarea_item",
5+
"prefLabel": "text area item",
6+
"description": "This is a text area item.",
7+
"schemaVersion": "1.0.0-rc2",
8+
"version": "0.0.1",
9+
"question": "This is an item where the user can input large amounts of text.",
10+
"ui": {
11+
"inputType": "textarea"
12+
},
13+
"responseOptions": {
14+
"valueType": "xsd:string",
15+
"maxLength": 300
16+
}
17+
}

0 commit comments

Comments
 (0)