FilamentF
Filamentβ€’3y ago
Harry

Default fields not populating when viewing resource

πŸ‘‹
I've got a page for viewing a resource, whereby I'm using Tabs with TextInput's to display information. Some of the information is null, so I want to default it like so:

  TextInput::make('promo_code_used')->default('N/A'),


For some reason though, this just appears as an empy field rather than show's as N/A. Any thoughts why this might be? Is it because it's a View page so the fields are disabled?
Was this page helpful?