-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currency field not compatible with resolve logic #89
Comments
@ragingdave I'm unable to reproduce. Default currency is not applied when value is |
Hmm... Well it's a pretty simple setup:
It would seem that I was incorrect in the assumption about empty being formatted. It's actually when the underlying value of the currency field is So to be clear the case that is failing is when the underlying value of the field is The related nova-issue is laravel/nova-issues#514. |
@ragingdave Even it if closed automatically, can you confirm 1.2.8 solves it? If not, just open a new issue. |
Will look into testing it tomorrow. Thanks for the quick work! |
The Currency field in nova has by default a displayUsing which will autoformat an empty value to something like
USD 0.00
which then can break storage. It looks like this has to be a part of the resolve switch to handle currency via a direct resolve call rather than delegating.The text was updated successfully, but these errors were encountered: