Skip to content

1.2.1

Choose a tag to compare

@heshansw heshansw released this 01 Apr 20:30
· 6 commits to main since this release
29aa8c3

Improvement with v1.2.1

    With minor version update, you can use new attribute called decimal. If an input field contains attribute **decimal**, form submission will validate input field and if input field contains non decimal value, form submission will trigger an error

    ```html
    <input name="amount" decimal />
    ```

    If there is an error with decimal, you can see error like

    ```json
    { "name": "DECIMAL_ERROR", "message": "amount" }
    ```

    Message will contain error input field name

What's Changed

  • feature - decimal input validator and improved email unit tests by @heshansw in #7

Full Changelog: 1.2.0...1.2.1