Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

This patch removes custom wiring between useState / useLayoutEffect / onChange / onBlur callbacks to control the input in favor of a shared hook that we use for another similar field already. Validation is still controlled from the outside for now

@Anemy just wanted to clarify my point: you don't really need to update the hook to also handle the validation (although you definitely can) to already minimize the amount of similar code that can be shared, the amount of extra useEffects and extra wiring will just grow the more new fields we will be adding there

@gribnoysup gribnoysup requested a review from a team as a code owner August 12, 2025 11:36
@gribnoysup gribnoysup added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Aug 12, 2025
@gribnoysup gribnoysup force-pushed the use-change-on-blur-for-collection-name branch from 8238911 to 34dfadf Compare August 12, 2025 11:49
@gribnoysup gribnoysup merged commit 3b79fd9 into main Aug 12, 2025
55 of 57 checks passed
@gribnoysup gribnoysup deleted the use-change-on-blur-for-collection-name branch August 12, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants