mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
Etemplate: Fix number widget could not handle separators anymore
Broken by Shoelace update, I think.
This commit is contained in:
parent
1fab30baaf
commit
66fb6a2254
@ -159,7 +159,7 @@ export class Et2Number extends Et2Textbox
|
||||
|
||||
get valueAsNumber() : number
|
||||
{
|
||||
let val = this.__value;
|
||||
let val = super.value;
|
||||
|
||||
if(val === "")
|
||||
{
|
||||
@ -219,4 +219,4 @@ export class Et2Number extends Et2Textbox
|
||||
}
|
||||
}
|
||||
// @ts-ignore TypeScript is not recognizing that Et2Textbox is a LitElement
|
||||
customElements.define("et2-number", Et2Number);
|
||||
customElements.define("et2-number", Et2Number);
|
||||
|
Loading…
x
Reference in New Issue
Block a user