Skip to content

Commit

Permalink
docs: add breaking change notes for numeric inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Jan 17, 2025
1 parent ae84917 commit f41350c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/form/input-numerico.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ L'input di tipo numerico va racchiuso in uno `<span>` con classe `.input-number`
Tale input emetterà l'evento `change` anche all'incremento/decremento tramite i pulsanti di step.
L'attributo `value=""` deve contenere un valore di default.

{% capture callout %}
Breaking feature dalla versione **2.13.0**

Le `label` degli input `percentuale` e `valuta` richiedono la classe `input-symbol-label`.
Le precedenti classi `input-number-percentage` e `input-number-currency` sono state rimosse.
{% endcapture %}{% include callout.html content=callout type="danger" %}

## Esempi

La label va posizionata prima del wrapper e, per garantire l'accessibilità del campo, dovrà avere un attributo `for=""` corrispondente al nome e id del campo input.
Expand Down

0 comments on commit f41350c

Please sign in to comment.