danielnarey/elm-input-validation

Deprecated in favor of danielnarey/elm-modular-ui


Keywords
elm, input-validation
License
BSD-2-Clause
Install
elm-package install danielnarey/elm-input-validation 1.0.3

Documentation

Deprecated

I created this package as an experiment to try to come up with a consistent way of handling errors when converting text input to an Int, Float, Bool, or custom type. The approach here turned out to be too cumbersome to apply in practice. I came up with a better solution for my Modular UI package, which was to incorporate error handling into constructor functions for input elements that capture numeric and custom values.