F
Filament13mo ago
Adel

multiple column type for the same column

I have dynamic feature builder which will be attached to resource. these features can have different types (select, text, checkbox). I want to show the value of these features based on the feature type. ex. if the feature is of type checkbox I want to show ToggleColumn but if the type is text I want to show TextColumn. how to achieve this in filament?
1 Reply
Alex Six
Alex Six13mo ago
Maybe something like this is what you're looking for? I implemented this on a project recently--depending on the value of a "type" select field, I changed what other fields were visible in the form. https://filamentphp.com/docs/3.x/forms/advanced#dynamic-fields-based-on-a-select-option
Want results from more Discord servers?
Add your server