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

Form v2 #146

Merged
merged 35 commits into from
Dec 10, 2024
Merged

Form v2 #146

merged 35 commits into from
Dec 10, 2024

Conversation

sujan-s
Copy link
Member

@sujan-s sujan-s commented Dec 6, 2024

No description provided.

@sujan-s sujan-s marked this pull request as draft December 6, 2024 00:56
@sujan-s
Copy link
Member Author

sujan-s commented Dec 6, 2024

For RadioButtons:

  1. RadioButton receives native click
  2. It creates proper synthetic event with correct value
  3. BaseInputComponent receives event and can safely extract value
  4. Value propagates up to form handler

@sujan-s sujan-s self-assigned this Dec 10, 2024
- Automatically check for interactivity by looking for onClick/onKeydown etc events and add  class to negate the  CSS rule
- Fix the padding issue where input fields would have 0 padding on the other end when a side element is present
@sujan-s sujan-s marked this pull request as ready for review December 10, 2024 12:11
@sujan-s
Copy link
Member Author

sujan-s commented Dec 10, 2024

Ok this has grown large enough to not be merged. There are still some ts-ignores and ts-expect-errors but that are minor and don’t want those to bottleneck this significant update.

@sujan-s sujan-s merged commit 18715a8 into main Dec 10, 2024
@sujan-s sujan-s deleted the form-v2 branch December 10, 2024 12:13
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.

1 participant