Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
95bb1572
Commit
95bb1572
authored
Dec 03, 2019
by
bbaer
Browse files
Now possible to set required to select.
parent
6e3e1c2e
Pipeline
#2845
passed with stages
in 2 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/QfqForm.js
View file @
95bb1572
...
...
@@ -1251,6 +1251,12 @@ var QfqNS = QfqNS || {};
if
(
configurationItem
.
required
!==
undefined
)
{
element
.
setRequired
(
configuration
.
required
);
if
(
element
.
$element
)
{
if
(
element
.
$element
.
is
(
"
select
"
))
{
element
.
$element
.
prop
(
'
required
'
,
true
);
element
.
$element
.
attr
(
'
data-required
'
,
'
yes
'
);
}
}
}
}
catch
(
e
)
{
n
.
Log
.
error
(
e
.
message
);
...
...
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