fix: Call onFinishEditing_ for fields on mobile. (#7483)

On the desktop, widgetDispose_ will call onFinishEditing_ on close.

This was missing in the mobile counterpart, so any cleanups in onFinishEditing_ would not be called.

Also update the message string comment while we are touching this code.
This commit is contained in:
laurensvalk
2023-09-20 15:15:17 +02:00
committed by GitHub
parent ed043e7228
commit 3b234c7f87
2 changed files with 2 additions and 1 deletions

View File

@@ -342,6 +342,7 @@ export abstract class FieldInput<T extends InputTypes> extends Field<
if (text !== null) {
this.setValue(this.getValueFromEditorText_(text));
}
this.onFinishEditing_(this.value_);
},
);
}