This seems really odd to me:
If i have to select whether it is checked or not, that defeats the purpose. I want to submit its value. Do i really have to create a custom state for that?
This seems really odd to me:
If i have to select whether it is checked or not, that defeats the purpose. I want to submit its value. Do i really have to create a custom state for that?
Think of a checkbox as setting a boolean value to âtrueâ.
If you select âis checkedâ, then it will set the value to âtrue (or yes)â if the checkbox is checked, and âfalse (or no)â if itâs not.
If you select âisnâtâ checked, that will do the opposite (i.e. set the value to âtrue/yesâ if it isnât checked, and âfalse/noâ if it is).
So if you want the value stored as âtrue/yesâ when the checkbox is checked, use â= is checkedâ.
In other words, in your specific example, you want to set the âCreator is Authorâ to âtrue/yesâ when the checkbox âis checkedâ, so âis checkedâ is the value you need to select.
If it is not checked and I use is checked, it will resolve as ânoâ? or will it make it âyesâ regardless?
With a boolean value (a yes/no) and a checkbox, the checkbox value (checked or unchecked) is used to set the value to true/yes (see Bubbleâs reference).
So if you choose âis checkedâ, that means that you want to set the value to âtrue/yesâ when the checkbox âis checkedâ.
If you choose âisnât checkedâ, that means you want to set the value to âtrue/yesâ when the checkbox âisnât checkedâ.
So, to answer your question, if the checkbox âisnât checkedâ, and youâve selected (that value to be true/yes when the checkbox) âis checkedâ then the boolean value will be set as âno/falseâ.
While i can work that logic, it feels unintuitive in this context. Since I just want the state, it would have made more sense to me to just see one option, which is essentially the âis/isnât checkedâ as no matter what I choose in this case, is checked or isnât checked, it will simply produce the yes or no equivalent of itâs state (i.e. being checked or not). So it doesnât matter which I choose, which is why I find it odd.
I see how in other contexts it can make sense, but here it only adds confusion while not making any difference in the results.
I do appreciate the help!