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

Fix fill attribute for specific fields

Open CrazyProgg opened this issue 4 years ago • 1 comments

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

CrazyProgg avatar Mar 26 '20 15:03 CrazyProgg

@michielkempen would you mind taking a look at this PR? These changes fixes the issue we're having with advanced-nova-media-library as well :)

mbardelmeijer avatar Mar 29 '23 11:03 mbardelmeijer