Skip to content

Formik controlled checkbox#27

Merged
robinmolen merged 2 commits intomainfrom
feature/26-formik-controlled-checkbox
Mar 17, 2026
Merged

Formik controlled checkbox#27
robinmolen merged 2 commits intomainfrom
feature/26-formik-controlled-checkbox

Conversation

@robinmolen
Copy link
Copy Markdown
Contributor

@robinmolen robinmolen commented Feb 25, 2026

Partly closes #26
Depends on #28

Adding a Formik controlled checkbox component, and some form input helper components (Label and FormField)

The error message and error state isn't finalized yet, so this might change in later iterations

@robinmolen robinmolen changed the base branch from main to feature/12-form-context February 25, 2026 10:19
@robinmolen robinmolen mentioned this pull request Feb 25, 2026
12 tasks
@robinmolen robinmolen marked this pull request as draft February 25, 2026 10:41
@robinmolen
Copy link
Copy Markdown
Contributor Author

robinmolen commented Feb 25, 2026

Design was updated to include error state https://www.figma.com/design/gWXiUgpX9qeYz95LZlERe7/AdminUI-DS?node-id=3775-2068&p=f&m=dev.

I'll update the Maykin-wide admin-ui to add this styling addition. PR: maykinmedia/admin-ui#299

@robinmolen robinmolen force-pushed the feature/26-formik-controlled-checkbox branch from 56db872 to e13abc4 Compare February 25, 2026 11:46
@robinmolen robinmolen changed the base branch from feature/12-form-context to feature/26-form-field-helpers February 25, 2026 11:46
@robinmolen robinmolen marked this pull request as ready for review February 25, 2026 13:47
@robinmolen robinmolen force-pushed the feature/26-form-field-helpers branch from 53189f6 to bf1fdd8 Compare February 25, 2026 15:11
@robinmolen robinmolen force-pushed the feature/26-formik-controlled-checkbox branch from e13abc4 to 9701635 Compare February 25, 2026 15:12
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 25, 2026

Codecov Report

❌ Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.61%. Comparing base (6095859) to head (7bca1ec).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
src/components/form/Checkbox/Checkbox.tsx 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   77.73%   77.61%   -0.12%     
==========================================
  Files          36       37       +1     
  Lines         265      277      +12     
  Branches       47       51       +4     
==========================================
+ Hits          206      215       +9     
- Misses         53       56       +3     
  Partials        6        6              
Flag Coverage Δ
storybook 67.50% <76.92%> (+0.33%) ⬆️
vitest 44.10% <0.00%> (-1.75%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from feature/26-form-field-helpers to main March 3, 2026 15:38
@robinmolen robinmolen requested review from SonnyBA and stefrado March 16, 2026 15:54
Copy link
Copy Markdown

@SonnyBA SonnyBA left a comment

Choose a reason for hiding this comment

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

Looks good, although I think the name of the props for the Toggle component will cause some confusion.

@robinmolen robinmolen force-pushed the feature/26-formik-controlled-checkbox branch from 9701635 to 7bca1ec Compare March 17, 2026 15:23
@robinmolen robinmolen merged commit f5e1ec5 into main Mar 17, 2026
11 checks passed
@robinmolen robinmolen deleted the feature/26-formik-controlled-checkbox branch March 23, 2026 13:24
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.

Formik controlled inputs

2 participants