Use the following code to create a basic inputEx CheckBox.
Add the label
In its simplest form, the CheckBox returns true if checked, false otherwise.
You can return different values if needed.
How to listen to the updated event :
How to enable/disable a checkbox :