Required Checkboxes #17019
Replies: 3 comments 6 replies
-
You can wrap a QCheckbox in a QField: |
Beta Was this translation helpful? Give feedback.
-
Thank you, this is a great help. I didn't think of this approach. That said, I don't think the result meets the usual quasar standards. I'd expect the checkbox to change color, but instead everything else does. Besides, it also adds the line below the field, which looks out of place under a checkbox imo. |
Beta Was this translation helpful? Give feedback.
-
Sorry for jumping in. When using QField for validating the inner QCheckbox, the label color of the checkbox is set to primary. Is there a way to reset this to the normal text color? |
Beta Was this translation helpful? Give feedback.
-
Heya,
I'm building a signup page right now and need a checkbox that must be checked in order to submit the page.
I have not been able to find a way to do this that doesn't either involve a different experience from the other validations or requires a lot of code to make it look like the other validations. (I have tried to find the quasar code that does this but I'm struggling to navigate the codebase tbh)
Is this actually missing? Is it easy to add? If yes, any support would be greatly appreciated.
This feels like a very common requirement, so I'm surprised it isn't mentioned anywhere.
Beta Was this translation helpful? Give feedback.
All reactions