You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
in component/teacherCompo/SurveyCreationFrom.js the theme are hard coded and therefor new themes cannot be add.
A solution could be to get themes for a special (and not existing at the time) request to the API.
<input type="checkbox" name="Ideas and problem solving" value={1} onChange={this.props.onChangeThemes} /> {translate('problem_solving')} <br /> <input type="checkbox" name="Opinions and arguments" value={2} onChange={this.props.onChangeThemes}/> {translate('opinions')} <br /> <input type="checkbox" name="Persistence" value={3} onChange={this.props.onChangeThemes}/> {translate('persistence')}<br /> <input type="checkbox" name="Responsibility" value={4} onChange={this.props.onChangeThemes}/> {translate('responsibility')} <br /> <input type="checkbox" name="Sustainable work - respect" value={5} onChange={this.props.onChangeThemes}/> {translate('sustainable_work')} <br />Line 26 in SurveyCreationFrom.js file