Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate validation outside of validation map #33

Open
easton873 opened this issue Jun 3, 2021 · 0 comments
Open

Deprecate validation outside of validation map #33

easton873 opened this issue Jun 3, 2021 · 0 comments

Comments

@easton873
Copy link

documentation needs to be updated so that anything to do with validation (currently validation-function, timing, and invalid-feedback) needs to be marked as deprecated if it is not in the new validation map

Example:
old:
(def text-form [ :example {:label "test" :validation-function #(not= nil %) :invalid-feedback "must not be empty"}])

new:
(def text-form [ :example {:label "test"
:validation {validation-function #(not= nil %) :invalid-feedback "must not be empty"}}])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant