D B Simmons
D B Simmons
FFilament
Created by D B Simmons on 6/1/2024 in #❓┊help
Hide certain parent form fields on relationship manager.
Hi - I'm still fairly new to Filament and this may be obvious and I'm just not getting it. I have a relationship manager (Account hasMany Transactions) and I'd like to hide one of the parent form fields . I tried the following code on my Account resource:
->schema([
Forms\Components\TextInput::make('name'), Forms\Components\TextInput::make('account_no')
-> hiddenOn(TransactionsRelationManager::class),
->schema([
Forms\Components\TextInput::make('name'), Forms\Components\TextInput::make('account_no')
-> hiddenOn(TransactionsRelationManager::class),
I was hoping this would hide the account_no field on the relationship page but it does not appear to be working. Have I misunderstood something. cheers Dave
5 replies