Skip to content

Export validation rules  #4309

Open
Open
@m0ksem

Description

@m0ksem

Right now user always need to create validation rules manully.

The goal is to have validation rules fabric funcitons. For example:

import { max, required } from 'vuestic-ui/validation-rules'
<VaInput :rules="[required(), max(6)]" />

We need a separate build config, look at packages/ui/build.

Subtask of #4194

Metadata

Metadata

Assignees

No one assigned

    Labels

    d3: mediumNo cheats. Monsters a bit faster.good first issueRight issue if you're new to vuesticv5: lifechangerThis is something user really need. Likely, users are blocked by this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions