Vue CheckBox - Overview
The CheckBox is a small box, which when selected by the end user, shows that a particular feature has been enabled or a specific property has been chosen.
The following code adds the CheckBox to your page.
App.vue
- <template>
- <DxCheckBox
- text="Check me"
- v-model:value="checkBoxValue"
- />
- </template>
- <script>
- import 'devextreme/dist/css/dx.light.css';
- import DxCheckBox from 'devextreme-vue/check-box';
- export default {
- components: {
- DxCheckBox
- },
- data() {
- return {
- checkBoxValue: undefined
- };
- }
- }
- </script>
The CheckBox UI component can have the following states: checked (the value property is true), unchecked (value is false), undetermined (value is undefined).
See Also
- Configure a UI Component: Angular | Vue | React | jQuery | AngularJS | Knockout
- CheckBox - Handle the Value Change Event
- CheckBox - Keyboard Support
- CheckBox API Reference
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.