F
Filament7mo 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
MikailOP7mo 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
Vp7mo 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
Mikail7mo 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 { })
Want results from more Discord servers?
Add your server