Form widgets and validation used for internal projects.
HTML elements are styled using Bulma.
Currently supports the following form elements:
We recommend checking out the examples (code) to get a feel for how it works.
Run the following commands to test out the examples locally:
yarn install
yarn startyarn installyarn elm-format --validate src tests
yarn elm-review
yarn elm-test
yarn elm makeWhen your changes are ready to go (merged into main) it's time to do a release.
yarn run elm bump. Fix any issues this finds and accept recommended version suggestion.yarn run elm publish. It will fail when it gets to the github tag stage but might show some other suggestions / issues.yarn build:pages.yarn run elm publish will give you the commands to run. For the description, try to add something meaningful like "added nullable option to required".It should take about 20 minutes for the updated package to be live on elm packages, but you can use the new version in your repos straight away.