Azure AD B2C - Custom UI - Date picker validation

415 Views Asked by At

I need to fix this validation that appears for the date picker (date of birth, in this case), when I use Azure AD B2C custom UI. This validation appears right after I choose the day, instead of waiting for the user to submit the other fields.

Is there a way to only run this validation when the form is submitted?

enter image description here

1

There are 1 best solutions below

2
On

The page version 1.2.0 has introduced a user input validation delay for improved user experience. Also look at setting.inputVerificationDelayTimeInMilliseconds metadata.

<ContentDefinitions>
  <ContentDefinition Id="api.selfasserted">
  <DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.0</DataUri>
  </ContentDefinition>
</ContentDefinitions>