Commit 95bb1572 authored by Benjamin Baer's avatar Benjamin Baer

Now possible to set required to select.

parent 6e3e1c2e
Pipeline #2845 passed with stages
in 2 minutes and 38 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