epartment / nova-dependency-container

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

DependsOnNullOrZero bug fix #185

Open xUJYx opened 3 years ago

xUJYx commented 3 years ago

Fixed check for dependsOnNullOrZero to work properly (error when picking undefined or null) http://dl3.joxi.net/drive/2021/07/19/0036/0412/2367900/00/2b12237527.jpg https://codesandbox.io/s/eloquent-pascal-vx967?file=/src/index.js

Tarpsvo commented 3 years ago

When making a PR, try not to format the whole file. It's impossible to see what's been changed. :)

xUJYx commented 3 years ago

When making a PR, try not to format the whole file. It's impossible to see what's been changed. :)

Sorry for this. As I see - it`s really hard to look through code. Am I must to make "re-code" all the stuff? Or you can understand the diff?