diff --git a/api/js/etemplate/Et2Textbox/Et2Number.ts b/api/js/etemplate/Et2Textbox/Et2Number.ts index aa3b5f76aa..c89bb62324 100644 --- a/api/js/etemplate/Et2Textbox/Et2Number.ts +++ b/api/js/etemplate/Et2Textbox/Et2Number.ts @@ -35,6 +35,25 @@ export class Et2Number extends Et2Textbox } } + /** @param {import('@lion/core').PropertyValues } changedProperties */ + updated(changedProperties) + { + super.updated(changedProperties); + + if (changedProperties.has('min')) + { + this._inputNode.min = this.min; + } + if (changedProperties.has('max')) + { + this._inputNode.max = this.max; + } + if (changedProperties.has('step')) + { + this._inputNode.step = this.step; + } + } + transformAttributes(attrs) { if (attrs.precision === 0 && typeof attrs.step === 'undefined')