Format number on q-input

  • I have a q-input bound to the v-model.
    The value in model is 12345.6
    I need to show it like : 12.345,60
    But the value in model must continue to be numeric … 12345.6
    Is it possible to format number just for display ?
    My q-input :
    <q-input type=“number” class=“q-pl-sm” dense label=“Total” v-model=“valor” input-class=“text-right text-bold”></q-input>


Log in to reply