Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

Doesn't allow null #2

Open
patrikalienus opened this issue Jan 26, 2016 · 0 comments
Open

Doesn't allow null #2

patrikalienus opened this issue Jan 26, 2016 · 0 comments

Comments

@patrikalienus
Copy link

Perhaps this isn't an Issue per se, but since the field does not allow a null selection, a slider will always be chosen. I'd like the ability for it to be empty. Otherwise I have to add a conditional in a more obtrusive way.

Instead of if (get_field('slider')) { ... }
I have to use a true/false field to check whether it should be displayed or not:
if (get_field('use_slider' == true)) { ... }

Just a hassle...

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

No branches or pull requests

1 participant