@vaadin/integer-field
Version:
vaadin-integer-field
37 lines (22 loc) • 1.07 kB
Markdown
# @vaadin/integer-field
An extension of [`<vaadin-number-field>`](https://www.npmjs.com/package/@vaadin/number-field) component that only allows entering integer numbers.
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/number-field/#integer-field)
[](https://www.npmjs.com/package/@vaadin/integer-field)
```html
<vaadin-integer-field label="X"></vaadin-integer-field>
```
## Installation
Install the component:
```sh
npm i @vaadin/integer-field
```
Once installed, import the component in your application:
```js
import '@vaadin/integer-field';
```
## Contributing
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
## License
Apache License 2.0
Vaadin collects usage statistics at development time to improve this product.
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.