F
Filament10mo ago
EMMAN

HIDING A FORM TEXTBOX ON 'CREATE' AND EDIT MODAL, NOT ON VIEW MODAL

Forms\Components\TextInput::make('fullname')->placeholder('Fullname')->unique(Advisers::class, 'fullname', ignoreRecord: true) How can I hide the fullname textbox on the create and edit modals, but not on the view modal? I'm using Filament v3. TY.
1 Reply
toeknee
toeknee10mo ago
->visibleOn(['view'])
->visibleOn(['view'])

Did you find this page helpful?