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),


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
Solution
You don't want the user to edit account_no? Probably could simply use ->hiddenOn('edit')

Or perhaps disable it
Was this page helpful?