aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/inputs/InputForText.js2
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/InputForText.js b/server/sonar-web/src/main/js/apps/settings/components/inputs/InputForText.js
index 13cbbfabc85..d5cf5726892 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/inputs/InputForText.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/InputForText.js
@@ -33,7 +33,7 @@ export default class InputForText extends React.Component {
name={this.props.name}
className="input-super-large text-top"
rows="5"
- value={this.props.value}
+ value={this.props.value || ''}
onChange={e => this.handleInputChange(e)}/>
);
}
diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.js b/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.js
index 6a7e24a6f8e..82c2e7dfc9e 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.js
@@ -38,7 +38,7 @@ export default class SimpleInput extends React.Component {
name={this.props.name}
className={this.props.className + ' text-top'}
type={this.props.type}
- value={this.props.value}
+ value={this.props.value || ''}
onChange={e => this.handleInputChange(e)}/>
);
}