#How to set tags to a TagsInput using $set

10 messages · Page 1 of 1 (latest)

kind stream
#

Hello i would like some help to set tags using $set i have tried :

$set('tags', 'a,tag');
$set('tags', ['a','tag']);
$set('tags', ['tag'=>'tag']);

as show in the image , it shows as if the input is not empty but not displaying anything,

thank you for the help

split jewel
kind stream
#

as you can see in tthe image , i added an action on the right , i am setting the tags from that action

split jewel
kind stream
split jewel
kind stream
#

$livewire->mountedActionsData['tags'][] = $data['employee_id'];

does not throw an error but tags are not set , the input has no value

split jewel
kind stream
split jewel