Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 745 Bytes

File metadata and controls

19 lines (12 loc) · 745 Bytes

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