vue
<template>
<NbNumberInput v-model="quantity" label="Quantity" :min="1" :max="10" />
</template>
<script setup lang="ts">
import { ref } from 'vue'
const quantity = ref(1)
</script>Validation states
Disabled
Content
- The label carries the unit when the field does not show one:
Timeout (seconds),Width (px). - An error names the constraint with its number:
Enter a number from 1 to 100.NotInvalid value. - The stepper buttons are named
DecreaseandIncreaseby default. Translate them through the strings catalogue, not per field.
Casing, punctuation and tone are set library-wide, not by this component: Writing style is the source.