- whitespaces aren't needed at the end of the line, that's why String.trim() is already implemented at input fields
@@ -49,7 +49,7 @@ InlinedForm = BlazeComponent.extendComponent({
getValue() {
const input = this.find('textarea,input[type=text]');
- return this.isOpen.get() && input && input.value;
+ return this.isOpen.get() && input && input.value.replaceAll(/\s +$/gm, '');
},
events() {