MS
Mark Schmidt

Default Component - Copy this React, Mui Component to your project

I'm using ag-grid and trying to create validation using a generic value setter. I would like each column definition to have the ability to run through any number of validators when the valueSetter method is called. For instance, if I'm on the date of birth field, I want to run validation for it being required and being a valid date. I'm trying to come up with an elegant generic solution. Can you help?

Prompt
Component Preview

About

DefaultComponent - A centered box prompts for the number of new employees, featuring an input with shadow text and a button to create a. Start coding now!

Share

Last updated 1 month ago