Amélioration champs input

- ajout de min et max quand utile
- ordre et regroupement des attributs:
   - préférence pour name en premier
   - regroupement de class/type/data-dtype
   - regroupement value/min/max
This commit is contained in:
2026-04-29 01:21:37 +02:00
parent 76e651cf19
commit a01086ff28
87 changed files with 517 additions and 407 deletions

View File

@@ -40,10 +40,10 @@
{{else}}Quantité{{/if}}
</label>
<div class="flexrow">
<input name="nombreLots" class="nombreLots flex-shrink number-x2" type="number" min="1"
{{#unless quantiteIllimite}} max="{{nbLots}}" {{/unless}}
value="{{choix.nombreLots}}"
data-dtype="Number" />
<input name="nombreLots" class="nombreLots flex-shrink number-x2"
type="number" data-dtype="Number"
value="{{choix.nombreLots}}" min="1" {{#unless quantiteIllimite}} max="{{nbLots}}" {{/unless}}
/>
</div>
</div>