Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
erp5
Commits
2baee241
Commit
2baee241
authored
Jun 08, 2022
by
Valentin Benozillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! erp5_web_renderjs_ui: Fix min & max setup if undefined
parent
f5346abe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_input_js.js
...TemplateItem/web_page_module/rjs_gadget_html5_input_js.js
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_input_js.js
View file @
2baee241
...
...
@@ -95,10 +95,10 @@
if
(
this
.
state
.
maxlength
)
{
textarea
.
setAttribute
(
'
maxlength
'
,
this
.
state
.
maxlength
);
}
if
(
this
.
state
.
min
&&
this
.
state
.
min
!==
""
)
{
if
(
this
.
state
.
min
!==
undefined
&&
this
.
state
.
min
!==
""
)
{
textarea
.
setAttribute
(
'
min
'
,
this
.
state
.
min
);
}
if
(
this
.
state
.
max
&&
this
.
state
.
max
!==
""
)
{
if
(
this
.
state
.
max
!==
undefined
&&
this
.
state
.
max
!==
""
)
{
textarea
.
setAttribute
(
'
max
'
,
this
.
state
.
max
);
}
...
...
Write
Preview
Markdown
is supported
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