GitShow/jaredpalmer/formik
jaredpalmer

formik

Build forms in React, without the tears ๐Ÿ˜ญ

by jaredpalmer
formformikformshigher-order-componenthooksreactreact-hooksreact-native
Star on GitHubForkWebsitenpm

TypeScript

34.3k stars2.8k forks461 contributorsQuiet ยท 7mo agoSince 2017formik@2.4.9Apache-2.0

Meet the team

See all 461 on GitHub โ†’
jaredpalmer
jaredpalmer1.2k contributions
quantizor
quantizor27 contributions
github-actions[bot]Bot
github-actions[bot]26 contributions
maddhruv
maddhruv9 contributions
snyk-bot
snyk-bot9 contributions
imgbot[bot]Bot
imgbot[bot]9 contributions
Andreyco
Andreyco8 contributions
johnrom
johnrom8 contributions

Languages

View on GitHub โ†’
TypeScript94%
JavaScript4%
CSS1.9%
Shell0%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

4 of 6 standards met

Community profile โ†’
100
โœ“READMEโœ“Licenseโœ“Contributingโœ“Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Quiet ยท Last activity 7mo ago
See all on GitHub โ†’
TLadd
Formik automatically converts input type number value to floatOpenIssue

๐Ÿ› Bug report Current Behavior When a form field is an `{ value: string }{ value: string | number }NumberInputFormik Number InputNormal Number Input` as well. It looks like this behavior has been a part of Formik a long ways going back, so it would definitely be a breaking change. Your environment v1.3.2 v16.6.3 v3.1.6 Chrome Yarn 1.12.3 Mac OS X

TLadd ยท 1w ago
Maruti05
#4065 fixed Horizontal padding issue on large screensOpenPR

for large screen i have add lg:px-8 padding .now consistent horizontal padding across screen sizes. BEFORE AFTER

Maruti05 ยท 3w ago
manbearwiz
fix: standalone utility return types; docsOpenPR

The standalone exported utility functions (, , , ) were losing generic type information because was typed as . Make generic so callers correctly infer Add explicit return type annotations to all four exports for TS performance Document each export (previously, showed "Some array helpers!")

manbearwiz ยท 1mo ago

Recent fixes

View closed PRs โ†’
patricknick
Yup's .defined() causes problems with validation logic in Formik when used with TypescriptClosedIssue

I have some trouble getting my head around a breaking change introduces in Yup with version '0.29.0' in combination with Formik. Namely it's about the following: This change is rather simple and straightforward. For example, if you want to specify the following form values: is required, therefore always defined. is optional, but always defined with according to the above. But when you now submit such a form, you receive the following error from Yup: . After some research I found the following code in Formik, which changes empty string to which then fails of course in the validation. https://github.com/jaredpalmer/formik/blob/849ed497e24afbc1c9d41dbd0ad84db8231a48c2/packages/formik/src/Formik.tsx#L1108 Full working example here: https://codesandbox.io/s/great-surf-3x642?file=/src/App.tsx I suppose there is a good reason behind this line of code. But I'm not sure it is intended behaviour in combination with Yup. Should this be adapted on Formik side or on user-side and ideally be documented? formik v2.1.4 yup v0.29.1 @types/yup v0.29.3

patricknick ยท 1mo ago
lifeiscontent
Add ValidValues generic to FormikConfig / useFormikMergedPR

this change allows for describing both initialState and validState to formik which can be helpful in scenarios where using Yup.

lifeiscontent ยท 1mo ago
Structured data for AI agents

Repository: jaredpalmer/formik. Description: Build forms in React, without the tears ๐Ÿ˜ญ Stars: 34335, Forks: 2781. Primary language: TypeScript. Languages: TypeScript (94%), JavaScript (4%), CSS (1.9%), Shell (0%). License: Apache-2.0. Homepage: https://formik.org Topics: form, formik, forms, higher-order-component, hooks, react, react-hooks, react-native, render-props. Latest release: formik@2.4.9 (7mo ago). Open PRs: 100, open issues: 737. Last activity: 7mo ago. Community health: 100%. Top contributors: jaredpalmer, quantizor, github-actions[bot], maddhruv, snyk-bot, imgbot[bot], Andreyco, johnrom, prichodko, hmmChase and others.

ยท@ofershap

Replace github.com with gitshow.dev