nova-issues icon indicating copy to clipboard operation
nova-issues copied to clipboard

nullable and searchable `MorphTo` displays 2nd input

Open alies-dev opened this issue 3 months ago • 0 comments

  • Laravel Version: 12.35.0
  • Nova Version: v5.7.6

Description:

MorphTo nullable field when it's searchable has 2nd input in the accessible state, even if them null option is chosen, than may confuse users:

Image

            MorphTo::make('External Content Provider', 'externalContentProvider')
                ->types([
                    Article::class,
                ])
                ->withSubtitles()
                ->default(null)
                ->nullable()
                ->searchable()
                ->hideFromIndex()

alies-dev avatar Nov 03 '25 12:11 alies-dev