SchwarzIT / onyx

🚀 A design system and Vue.js component library created by Schwarz IT
https://onyx.schwarz
Apache License 2.0
56 stars 6 forks source link

Implement OnyxNumberInput #1273

Closed BoppLi closed 3 months ago

BoppLi commented 3 months ago

Depends on

Implementation details

Add the following validation options back to packages/sit-onyx/src/composables/useCustomValidity.ts

    min?: number;
    max?: number;
    step?: number;
BoppLi commented 3 months ago

Further Info for Implementation details. In #570 first we prepared validation options for the number input aswell, but because it was not implemented yet, they were removed. To get them back, re-add the following code line in useCustomValidity:

Image and

Image

larsrickert commented 3 months ago

Duplicate of #1348