alexwenzel / nova-dependency-container

A Laravel Nova field container allowing to depend on other fields values
MIT License
46 stars 33 forks source link

Get Correct Rules #32

Closed lonnylot closed 3 months ago

lonnylot commented 1 year ago

Call the correct rule method instead of calling the property directly. If the property is callable then the method will already resolve the property. The advantage of calling the method is that if the field has customized those methods at all (e.g. like for Flexible does) then we instantly get that customization without needing extra custom logic.

fixes #17