mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
Fix TS type errors on widget number
This commit is contained in:
parent
5617b6c33d
commit
12eb1dec61
@ -83,9 +83,9 @@ class et2_number extends et2_textbox
|
|||||||
{
|
{
|
||||||
let ok = true;
|
let ok = true;
|
||||||
// if we have a html5 validation error, show it, as this.input.val() will be empty!
|
// if we have a html5 validation error, show it, as this.input.val() will be empty!
|
||||||
if (this.input && this.input[0] && this.input[0].validationMessage && !this.input[0].validity.stepMismatch)
|
if (this.input && this.input[0] && (<HTMLInputElement><unknown>this.input[0]).validationMessage && !(<HTMLInputElement><unknown>this.input[0]).validity.stepMismatch)
|
||||||
{
|
{
|
||||||
_messages.push(this.input[0].validationMessage);
|
_messages.push((<HTMLInputElement><unknown>this.input[0]).validationMessage);
|
||||||
ok = false;
|
ok = false;
|
||||||
}
|
}
|
||||||
return super.isValid(_messages) && ok;
|
return super.isValid(_messages) && ok;
|
||||||
|
Loading…
Reference in New Issue
Block a user