F
Filament9mo ago
Mikail

Tags input

How to store tags in different records instead of default JSON format?
Solution:
No problem. I found a way to modify the creation process. It was a simple resource class. ->using(function (array $data, string $model): Model { })...
Jump to solution
4 Replies
Mikail
MikailOP9mo ago
Thanks for this but this still store in the same column field as array. I wanted each tags stored in their own column field
Vp
Vp9mo ago
Sorry I don't know how to store each tags in their own column, but if I use this separator, mine is storing as comma separated string not array because my column type is "text"
Solution
Mikail
Mikail9mo ago
No problem. I found a way to modify the creation process. It was a simple resource class. ->using(function (array $data, string $model): Model { })

Did you find this page helpful?