Free Text Survey
An ISLE component for questions where the answers by the students should be supplied in the form of free text. What differentiates this component from the FreeTextQuestion is the fact that the aggregated group data is displayed to everyone in real-time.
Example:
<FreeTextSurvey
question="Where are you from?"
anonymous
/>
Options:
- id |
string (required)
: component identifier. Default:none
. - question |
string
: the question to ask the students. Default:''
. - allowMultipleAnswers |
boolean
: controls whether one wishes to allow students to answer the survey multiple times. Default:false
. - anonymous |
boolean
: controls whether student answers are anonymized. Default:false
. - rows |
number
: number of text rows in the input field. Default:4
. - style |
object
: CSS inline styles. Default:{}
. - onSubmit |
function
: callback function called when an answer is submitted. Default:onSubmit() {}
.