Muetze42 / nova-radio-field

A Radio Buttons field for Laravel Nova.
https://novapackages.com/packages/norman-huth/nova-radio-field
MIT License
5 stars 2 forks source link

compatibility with lupennat/nova-nested-many #27

Closed Lupennat closed 10 months ago

Lupennat commented 10 months ago

There is a compatibility problem with the https://github.com/Lupennat/nova-nested-many/issues/20 package. The nova-nested-many package allows creating/editing has-many resources from the parent resource. Using this package, the page contains N fields with the same attribute for each nested resource. Nova-radio-fields creates input radio with name consisting only of field.attribute. To solve the problem, the name should consist of the formUniqueId + field.attribute.