aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes/EditAttributesView.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/attributes/EditAttributesView.js')
-rw-r--r--modern/src/attributes/EditAttributesView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/attributes/EditAttributesView.js b/modern/src/attributes/EditAttributesView.js
index 9491acc5..619d857c 100644
--- a/modern/src/attributes/EditAttributesView.js
+++ b/modern/src/attributes/EditAttributesView.js
@@ -106,7 +106,7 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
<InputLabel>{getAttributeName(key)}</InputLabel>
<FilledInput
type={type === 'number' ? 'number' : 'text'}
- defaultValue={value}
+ value={value || ''}
onChange={e => updateAttribute(key, e.target.value)}
endAdornment={
<InputAdornment position="end">