Commit 74e02ae0 authored by Cédric Krier's avatar Cédric Krier
Browse files

Set width on numeric input instead of the input group

Closes #12037
parent ecf3f470e900
Pipeline #61737 passed with stages
in 8 minutes and 56 seconds
......@@ -2009,7 +2009,8 @@
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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment