Skip to content

validation framework adapters #2

@theluk

Description

@theluk

currently validation might be accomplished via middlewares.

<Middleware use={(data, update, fail) => ...} />

My idea is to have some sub packages (like react-formular-{framework}) that can be imported. Some of the famous ones would be yup and could be implemented as

import { schema } from './my-yup-schema'
import Validator from 'react-formular-yup'

<Validator schema={ schema } />

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions