quasar-app-extension-qnumber

2.1.6 • Public • Published

quasar-app-extension-qnumber quasar-app-extension-qnumber npm quasar-app-extension-qnumber

Quasar App Extension QNumber

The QNumber component is used to capture number input from the user. It uses v-model, similar to a regular input. It has support for errors and validation, and comes in a variety of styles, colors, and types.

Install

quasar ext add qnumber

Quasar CLI will retrieve it from the NPM registry and install the extension to your project.

Example

<q-number
    v-model="modelValue"
    @update:model-value="onChange"

    // options: https://vue-number-format.netlify.app/guide/config.html
    :options="{
        prefix: '$',
        suffix: '',
        separator: ',',
        decimal: '.',
        precision: 2,
        prefill: true,
        reverseFill: false,
        min: false,
        max: false,
        nullValue: ''
    }"
/>

Uninstall

quasar ext remove qnumber

Donate

If you appreciate the work that went into this App Extension, please consider donating to Quasar.

Readme

Keywords

none

Package Sidebar

Install

npm i quasar-app-extension-qnumber

Weekly Downloads

187

Version

2.1.6

License

MIT

Unpacked Size

7.23 kB

Total Files

10

Last publish

Collaborators

  • dipaksarkar