mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Set modelValue if the inputWidget has a _callParser() method.
This makes sure the internal modelValue is set when we call set_value(), and preserves value if the widget is re-connected (like Et2Dialog does)
This commit is contained in:
parent
53a7405a61
commit
38a3af6981
@ -186,6 +186,11 @@ const Et2InputWidgetMixin = (superclass) =>
|
||||
set_value(new_value)
|
||||
{
|
||||
this.value = new_value;
|
||||
|
||||
if(typeof this._callParser == "function")
|
||||
{
|
||||
this.modelValue = this._callParser(new_value);
|
||||
}
|
||||
}
|
||||
|
||||
get_value()
|
||||
|
Loading…
Reference in New Issue
Block a user