mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Fix required dates gave missing error even if they had a value
This commit is contained in:
parent
bb1e9d2c30
commit
1671e69603
@ -348,6 +348,9 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(ValidateMixin(LitFl
|
|||||||
// @ts-ignore TypeScript can't find scrollPlugin, but rollup does
|
// @ts-ignore TypeScript can't find scrollPlugin, but rollup does
|
||||||
options.plugins = [new scrollPlugin()];
|
options.plugins = [new scrollPlugin()];
|
||||||
|
|
||||||
|
// Listen for flatpickr change so we can update internal value, needed for validation
|
||||||
|
options.onChange = options.onReady = () => {this.modelValue = this._inputNode.value;};
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user