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');
|
||||
echo $this->Tag->tags($tags, [
|
||||
'allTags' => $allTags,
|
||||
'picker' => true,
|
||||
'editable' => true,
|
||||
'picker' => !empty($field['editable']),
|
||||
'editable' => !empty($field['editable']),
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue