Show hidden model attributes
What I am trying to do:
I am trying to show hidden model attributes in form.
What I did:
Searched whole documentation and searched here in questions, but still can't solve it.
My issue/the error:
Hidden attributes is not accessible trough form. Is there any way make it visible like in Laravel when using
Code:
// Model
// Filament form
I am trying to show hidden model attributes in form.
What I did:
Searched whole documentation and searched here in questions, but still can't solve it.
My issue/the error:
Hidden attributes is not accessible trough form. Is there any way make it visible like in Laravel when using
$model->makeVisible(['provider_id', 'provider'])?Code:
// Model
// Filament form
Solution
Try this:
Of course, you need to replace the Model with your specified model.
Of course, you need to replace the Model with your specified model.