Set width on numeric input instead of the input group

Closes #12037
This commit is contained in:
Cédric Krier
2023-01-25 00:28:00 +01:00
parent 2668ff013a
commit 65c8d8dd36
+2 -1
View File
@@ -2009,7 +2009,8 @@ function eval_pyson(value){
record = this.record;
var value = '';
if (this.width !== null){
this.el.css('width', this.width + 'ch');
this.input_text.css('width', this.width + 'ch');
this.input.css('width', (this.width + 5) + 'ch');
}
if (field) {
value = field.get_client(record, this.factor, this.grouping);