Skip to content
Snippets Groups Projects
Commit 07cd06db authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

QfqForm.js: support 'hidden' attribute when configuring form elements.

parent 20b8f97d
No related branches found
No related tags found
No related merge requests found
......@@ -641,7 +641,10 @@ var QfqNS = QfqNS || {};
if (configurationItem.disabled !== undefined) {
// Readonly and disabled is the same in our domain
element.setEnabled(!configurationItem.disabled);
}
if (configurationItem.hidden !== undefined) {
element.setHidden(configurationItem.hidden);
}
} catch (e) {
n.Log.error(e.message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment