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

Required prop [FEATURE] #42

Open
Ojay opened this issue May 6, 2022 · 0 comments
Open

Required prop [FEATURE] #42

Ojay opened this issue May 6, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Ojay
Copy link

Ojay commented May 6, 2022

Is your feature request related to a problem? Please describe.
Loving the field however it doesn't seem to have validation/required props, like other schema fields.

Describe the solution you'd like

   {
      title: 'Page type',
      name: 'pageType',
      type: 'tags',
      // Validation prop
      validation: Rule => Rule.required(),**
      options: {
        ...
      },
    },
@Ojay Ojay added the enhancement New feature or request label May 6, 2022
@rosnovsky rosnovsky added this to the v2 milestone Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants