The KendoVue Inputs are fields which allow for an input of data, based on a specific and predefined format.
The Inputs components are part of the KendoVue library which provides native Kendo UI components for the Vue ecosystem and are available under thekendo-vue-inputs NPM package.
The following example demonstrates all the components included in Inputs package in action.
To initialize the Inputs, either:
To use the Kendo UI for Vue Native Inputs with CDN, follow the below steps:
inputs andintl packages.<scriptsrc="https://unpkg.com/@progress/kendo-vue-intl@latest/dist/cdn/js/kendo-vue-intl.js"></script><scriptsrc="https://unpkg.com/@progress/kendo-vue-inputs@latest/dist/cdn/js/kendo-vue-inputs.js"></script> // Load the Kendo Default Theme<linkrel="stylesheet"href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css"> // Load the Kendo Bootstrap Theme<linkrel="stylesheet"href="https://unpkg.com/@progress/kendo-theme-bootstrap@latest/dist/all.css"><linkhref="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> // To load the Kendo Material Theme<linkrel="stylesheet"href="https://unpkg.com/@progress/kendo-theme-material@latest/dist/all.css"> // To load the Kendo Fluent Theme<linkrel="stylesheet"href="https://unpkg.com/@progress/kendo-theme-fluent@latest/dist/all.css">Download and install the package:
npminstall--save @progress/kendo-vue-inputs @progress/kendo-vue-intl @progress/kendo-licensing @progress/kendo-svg-iconsOnce installed, import the package module.
// ES2015 module syntaximport{NumericTextBox,Input,MaskedTextBox,Slider,Checkbox,RadioButton,RadioGroup}from'@progress/kendo-vue-inputs';// CommonJS formatconst{NumericTextBox,Input,MaskedTextBox,Slider,Checkbox,RadioButton,RadioGroup}=require('@progress/kendo-vue-inputs');You are required to install one of the Kendo UI themes to style your components. For more information on how to add the styles, refer to the article ongetting started.
Follow the instructions on the Kendo UI for VueMy License page to activate your license. You can skip this step if your application already contains a Kendo UI license file.
The Inputs package requires the followingpeer dependencies that have to be installed by your application:
Vue 2 is currently in its end-of-support phase till Nov 2024. After our last major release for 2024, Vue 2 will no longer be supported in the new versions of the Kendo UI for Vue components. Please check ourVue 2 End of Support article for more details.