Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tryton
Tryton
Commits
74e02ae05326
Commit
74e02ae0
authored
Jan 25, 2023
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sao/src/view/form.js
View file @
74e02ae0
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment