InputNumber warning on console

UI Components for Vue
Post Reply
Posts: 11
Joined: 27 Aug 2020, 11:17

16 Nov 2020, 17:42

Hi to everyone,

I'm using the InputNumber component. In the browser console I receive the following warning:

Code: Select all

[Vue warn]: Component emitted event "update:modelValue" but it is neither declared in the emits option nor as an "onUpdate:modelValue" prop.

when I press the button up or down. Here is the sample code I wrote to test it.

Code: Select all

            <InputNumber v-model="numero" :showButtons="true" />
            The number is <span>{{numero}}</span>
import InputNumber from 'primevue/inputnumber';

export default {
    data() {
        return {
            numero: 5,
    components: {
Thanks in advance,

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest