KendoVue Inputs Overview

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 the kendo-vue-inputs NPM package.

The Inputs Package is part of Kendo UI for Vue, a professional grade UI library with 90+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Basic Usage

The following example demonstrates all of the components included in Inputs package in action.

Example
View Source
Edit In Stackblitz  
Change Theme:

Installation

To initialize the Inputs, either:

Using CDN

To use the Kendo UI for Vue Native Inputs with CDN, follow the below steps:

  1. Reference the inputs and intl packages.
  <script src="https://unpkg.com/@progress/kendo-vue-intl@latest/dist/cdn/js/kendo-vue-intl.js"></script>
  <script src="https://unpkg.com/@progress/kendo-vue-inputs@latest/dist/cdn/js/kendo-vue-inputs.js"></script>
  1. Reference one of the Kendo UI themes to style your components.
    // Load the Kendo Default Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css">

    // Load the Kendo Bootstrap Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-bootstrap@latest/dist/all.css">
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">

    // To load the Kendo Material Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-material@latest/dist/all.css">
  1. Follow the instructions in this article to activate your product license. You can skip this step if your application already contains a license key.

Initializing with Webpack

  1. Download and install the package:

       npm install --save @progress/kendo-vue-inputs @progress/kendo-vue-intl @progress/kendo-licensing
  2. Once installed, import the package module.

     // ES2015 module syntax
     import { NumericTextBox, Input, MaskedTextBox, Slider, Checkbox, RadioButton, RadioGroup } from '@progress/kendo-vue-inputs';
    // CommonJS format
    const { NumericTextBox, Input, MaskedTextBox, Slider, Checkbox, RadioButton, RadioGroup } = require('@progress/kendo-vue-inputs');
  3. 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 on getting started.

  4. Follow the instructions on the Kendo UI for Vue My License page to activate your license. You can skip this step if your application already contains a Kendo UI license file.

Dependencies

The Inputs package requires the following peer dependencies that have to be installed by your application:

  • vue 2.6.11 or 3.0.0
  • @progress/kendo-vue-intl
  • @progress/kendo-licensing