You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We cannot have a different validation apart from the standard ones provided. If we want to validate more than with the min, max, etc.. functions we are not able. There should be a way to enable custom validation with the values of different fields.
PROPOSED IMPROVEMENT:
constonLiveErrorFeedback=(validate: Function)=>{return[validate('firstName').uppercase().min(6,'Must have more than 6 caracters').max(8,'Must have 8 at most'),validate('lastName').lowercase().min(6,'Must have more than 6 caracters').max(10,'Must have 10 at most'),validate('lastName').custom(values=>(values.lastName.indexOf(' ')>-1,'Should have space'))]}
The text was updated successfully, but these errors were encountered:
We cannot have a different validation apart from the standard ones provided. If we want to validate more than with the
min
,max
, etc.. functions we are not able. There should be a way to enable custom validation with the values of different fields.PROPOSED IMPROVEMENT:
The text was updated successfully, but these errors were encountered: