nova-polymorphic-field icon indicating copy to clipboard operation
nova-polymorphic-field copied to clipboard

A Laravel Nova field that allows you to create a collection of polymorphic resources.

Results 7 nova-polymorphic-field issues
Sort by recently updated
recently updated
newest added

Would be great to see Laravel Nova 4 support in this package. The field currently seems to be hidden in the interface from 4.0 and up.

I think this file is based on the HasDependency class from the nova dependency container package. This update should fix the validation issues. I also had to add some backtrace...

Currently adding `->nullable()` to a `PolymorphicField` does nothing. This will fix it so that if the field is nullable, you have the option to not choose a class, and can...

When saving a ````PolymorphicField::make('Type')```` with a ````Text::make('Client')->rules('required')```` field, the ````rules('required')```` is ignored...

If we use specific fields in PolymorphicField (like https://github.com/ebess/advanced-nova-media-library/blob/master/src/Fields/Media.php#L142) for correct save, we should return callback from fillAttributeFromRequest method) And it will be called in Laravel\Nova\Http\Controllers\ResourceUpdateController

Currently when adding a BelongsTo relationship field the resource will not work at all. PR #13 opening to resolve this.

`hideWhenCreating` methods on the fields are currently not supported for fields under a polymorphic field.