InputNumber
Campo numérico con icono, sufijo, botón de limpiar y mensaje de error propio.
import InputNumber from '#LibComponents/astronative/atomic/InputNumber/InputNumber.astro';icon="home"hasClear={true}suffix="noches"hasError={true} customErrorMessage="Introduce un número"<AC.InputNumber label="Noches" name="noches" suffix="noches" hasClear />Props del tipo del componente
| Prop | Tipo | Obligatorio | Default | Descripción |
|---|---|---|---|---|
autocomplete | 'on' | 'off' | 'do-not-autofill' | no | — | |
class | string | no | — | |
callbackEvent | string | no | — | |
customErrorMessage | string | no | — | |
hasError | boolean | no | — | |
hasClear | boolean | no | — | |
helperText | string | no | — | |
icon | string | no | — | |
label | string | no | — | |
suffix | string | no | — |