Commit 508908e9 by Alexander Kochetov

DetailView allow set label while attribute in string format

parent 9d01d1fb
......@@ -179,6 +179,7 @@ class DetailView extends Widget
$attribute = [
'name' => $matches[1],
'format' => isset($matches[3]) ? $matches[3] : 'text',
'label' => isset($matches[5]) ? $matches[5] : null,
];
}
......
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