Commit c95f4c7b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge remote-tracking branch 'origin/B9690SelectRequired' into develop

# Conflicts:
#	javascript/src/QfqForm.js
parents 2baf2b77 42bf3323
......@@ -249,6 +249,7 @@ class Support {
* @param bool $flagOmitEmpty true|false
* @param string $modeEscape ESCAPE_WITH_BACKSLASH | ESCAPE_WITH_HTML_QUOTE
*
*
* @return string correctly formatted attribute. Space at the end.
* @throws \CodeException
*/
......
......@@ -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', configuration.required);
element.$element.attr('data-required', 'yes');
}
}
}
} catch (e) {
n.Log.error(e.message);
......
Markdown is supported
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