Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

created new themes won't appear in the interface  #186

@alkalinan

Description

@alkalinan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions