Commit 48e59782f19b3b25b06fc1c4c4294e1eb5b237c8
Committed by
Andrew Shvayka
1 parent
40a37eef
Added trim to dataKeyName
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -75,7 +75,7 @@ export class AddAttributeDialogComponent extends DialogComponent<AddAttributeDia |
75 | 75 | this.submitted = true; |
76 | 76 | const attribute: AttributeData = { |
77 | 77 | lastUpdateTs: null, |
78 | - key: this.attributeFormGroup.get('key').value, | |
78 | + key: this.attributeFormGroup.get('key').value.trim(), | |
79 | 79 | value: this.attributeFormGroup.get('value').value |
80 | 80 | }; |
81 | 81 | this.attributeService.saveEntityAttributes(this.data.entityId, | ... | ... |