Commit 19bffa38 by Qiang Xue

Fixes #1326: DetailView: visibility of the attribute

parent 2b9b364c
......@@ -186,6 +186,10 @@ class DetailView extends Widget
throw new InvalidConfigException('The attribute configuration must be an array.');
}
if (isset($attribute['visible']) && !$attribute['visible']) {
continue;
}
if (!isset($attribute['format'])) {
$attribute['format'] = 'text';
}
......
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