Skip to content

Conversation

@itz-PrathamMittal
Copy link

@itz-PrathamMittal itz-PrathamMittal commented Oct 30, 2025

Description

  • Currently in input component we don't have support for async validatons need to add async validators support in input box.

  • Add support for asynchronous input validator.

  • Change return type of custom validator for input component.

Dev Proof

@itz-PrathamMittal itz-PrathamMittal force-pushed the BZ-45540-making-the-validator-asynchronous-in-input-field-in-svelte-5-v2 branch from 6ae3c56 to d2f9941 Compare November 4, 2025 13:07
break;
} else {
validationResult =
validationResult === 'Valid' && currentResult === 'Valid' ? 'Valid' : validationResult;
Copy link

@RajuSudhar RajuSudhar Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets discuss what needs to be achieved here. As validationResult will always be unchanged in any possible case.

-Currently in input component we don't have support for async validators need to add async validators support in input box.
-Add support for asynchronous input validator.
-Change return type of custom validator for input component.
@itz-PrathamMittal itz-PrathamMittal force-pushed the BZ-45540-making-the-validator-asynchronous-in-input-field-in-svelte-5-v2 branch from d2f9941 to bcf7ed5 Compare November 10, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants