Commit 8a64f2fb authored by Benjamin Baer's avatar Benjamin Baer

Merge branch 'b9674-selectRequired' into 'master'

Now possible to set required to select.

See merge request !217
parents 6e3e1c2e 95bb1572
Pipeline #2846 passed with stages
in 2 minutes and 35 seconds
......@@ -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);
......
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