Skip to content
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

Allow empty values #18

Closed
Quantiversal opened this issue Nov 23, 2022 · 1 comment
Closed

Allow empty values #18

Quantiversal opened this issue Nov 23, 2022 · 1 comment

Comments

@Quantiversal
Copy link

Hi,

Would it be possible to have an empty value instead of "#ffffff" as the default? Users could always use the nova ->default() method on the field if they wanted to have a default.

My issue is that we have fields that are meant to be blank by default. Then only if a user enters a color, we then use that value. With the Nova 4 update, everything is hardcoded to white by default which causes issues 😅

@Quantiversal
Copy link
Author

Solved (I guess?) by using this fork: https://github.com/outl1ne/nova-color-field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant