Skip to content

feat(Form): new methods#1093

Merged
tenphi merged 2 commits intomainfrom
feat-form-methods
Mar 24, 2026
Merged

feat(Form): new methods#1093
tenphi merged 2 commits intomainfrom
feat-form-methods

Conversation

@tenphi
Copy link
Copy Markdown
Member

@tenphi tenphi commented Mar 24, 2026

Note

Low Risk
Low risk API addition; behavior change is limited to isDirty now delegating to the new per-field dirty check, which should be equivalent but could affect edge cases in value comparison.

Overview
Adds several form introspection helpers on CubeFormInstance: getFieldNames, isFieldDirty, getDirtyFieldNames, getValidFieldNames, and getInvalidFieldNames.

Refactors isDirty to use getDirtyFieldNames() instead of inline comparisons, and publishes the change as a minor bump via a changeset.

Written by Cursor Bugbot for commit cb7d9e7. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Mar 24, 2026 10:03am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 24, 2026

🦋 Changeset detected

Latest commit: cb7d9e7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

📦 NPM canary release

Deployed canary version 0.0.0-canary-ae60887.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

🏋️ Size limit report

Name Size Passed?
All 360.69 KB (+0.03% 🔺) Yes 🎉
Tree shaking (just a Button) 101.21 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

🧪 Storybook is successfully deployed!

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread src/components/form/Form/use-form.tsx
@tenphi tenphi merged commit c3530ab into main Mar 24, 2026
16 checks passed
@tenphi tenphi deleted the feat-form-methods branch March 24, 2026 10:08
@github-actions github-actions Bot mentioned this pull request Mar 24, 2026
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