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

Issue with Resolvers tranform #11550

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

jmtwr
Copy link

@jmtwr jmtwr commented Feb 26, 2024

Hi, I found one annoying, some time ago the next feature was broken.

PROBLEM:

  1. describing schema validation w/ transform function > most common usage it's trim string input
  2. Trigger validation
  3. Expected to get string without spaces at the end & start of string
  4. The Result > value still with spaces

CODE SANDBOX EXAMPLE > https://codesandbox.io/p/sandbox/react-hook-forms-resolvers-issue-mpyd39

Perhaps there is a more graceful solution to this problem. Thanks!

Copy link

codesandbox bot commented Feb 26, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

stale bot commented Apr 22, 2024

Thank you for your contributions! This Pull Request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Best, RHF Team ❤️

@stale stale bot added the stale label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant