aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/fields/InputField.js
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-09-30 13:58:16 +0000
committerEmiliano Ciavatta2020-09-30 13:58:16 +0000
commitd5ed31be3b6c97f92be4e94b70d32d1b89932ae9 (patch)
tree0deffc50058f731c51ba4b804c9db7eaff1c94a0 /frontend/src/components/fields/InputField.js
parent43135c255d82aa7c54ea83b14369c93425ae75f6 (diff)
Complete services page
Diffstat (limited to 'frontend/src/components/fields/InputField.js')
-rw-r--r--frontend/src/components/fields/InputField.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/fields/InputField.js b/frontend/src/components/fields/InputField.js
index b790891..84c981b 100644
--- a/frontend/src/components/fields/InputField.js
+++ b/frontend/src/components/fields/InputField.js
@@ -55,7 +55,8 @@ class InputField extends Component {
{ type === "file" && <label for={this.id} className={"file-label"}>
{value.name || this.props.placeholder}</label> }
<input type={type} placeholder={this.props.placeholder} id={this.id}
- aria-describedby={this.id} onChange={handler} {...inputProps} />
+ aria-describedby={this.id} onChange={handler} {...inputProps}
+ readOnly={this.props.readonly} />
</div>
{ type !== "file" && value !== "" &&
<div className="field-clear">