Commit 1f62a986 authored by Dorian Goepp's avatar Dorian Goepp

Legend for required fields in configuration form

parent d82a6980
......@@ -93,14 +93,17 @@ export class Modal extends Component {
if (config && 'displayMode' in config) {
if (config.configurable && config.displayMode === "settings") {
return [
<Form
className = "container"
schema={this.modes.settingsSchema}
onSubmit={this.handleSettingsChange.bind(this)}
formData={config}
liveValidate={true} />,
<br/>,
<p className="container"><span clasName="required">*</span> : required field</p>];
<Form
key="form"
className = "container"
schema={this.modes.settingsSchema}
onSubmit={this.handleSettingsChange.bind(this)}
formData={config}
liveValidate={true} />,
<br key="line-break"/>,
<p className="container" key="required-field">
<span clasName="required">*</span> : required field
</p>];
}
if (config.hasReadme && config.displayMode === "readme") {
return this.modes.readme;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment