Closed luke0x90 closed 1 year ago
When adding inline morph to User, all resources can be created as intended (eg Teachers/Admins) except for Students.
InlineMorphTo::make('Userable') ->types( [ Individual::class, Student::class, Teacher::class, SchoolAdmin::class, Admin::class, ]) ->default(Student::class)->hideFromIndex()->hideFromDetail(),
When adding inline morph to User, all resources can be created as intended (eg Teachers/Admins) except for Students.