sdxmessaging / ui-widgets

Build powerful form inputs/outputs with mithril and streams.
MIT License
4 stars 1 forks source link

upgrade currency input to use 'min' attribute #138

Closed sdx-joe closed 1 year ago

sdx-joe commented 1 year ago

In the CCA digital project we want to validate against a currency input, providing a 'min: 0' to the form field doesn't seem to do anything

Expected behaviour would be to fail validation if the currency input value doesn't exceed 0