new: [element:tagsField] Added support of editable based on passed configuration
parent
c148b0993a
commit
cbdf64a784
|
@ -3,6 +3,6 @@
|
||||||
$tags = Cake\Utility\Hash::get($data, 'tags');
|
$tags = Cake\Utility\Hash::get($data, 'tags');
|
||||||
echo $this->Tag->tags($tags, [
|
echo $this->Tag->tags($tags, [
|
||||||
'allTags' => $allTags,
|
'allTags' => $allTags,
|
||||||
'picker' => true,
|
'picker' => !empty($field['editable']),
|
||||||
'editable' => true,
|
'editable' => !empty($field['editable']),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue