Skip to content

Headless form component to create inline editable fields inside Formik Forms

Notifications You must be signed in to change notification settings

axelv/react-formik-inline-editible-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inline Editable Field using Formik

This repo contains a headless component wrapping the Formik <Form /> component and takes care of all the necessary state logic and event handlers for an inline editable field.

Why? - I had a hard time to find a simple, elegant hand headlesss implementation, and decided to build a component myself.

▶️ Demo

Demo gif of inline editable field

How can I use this?

Take a look at <InlineEditableForm/> src/App.tsx for to exact component.

⭐️ Main Features ⭐️:

  • ✅ Headless form component, use your own styling
  • ✅ Keyboard (Tab, Enter, Esc) and mouse interaction
  • ✅ Autosubmit on blur
  • ✅ Works with Formik

About

Headless form component to create inline editable fields inside Formik Forms

Topics

Resources

Stars

Watchers

Forks

Languages