@piplup/rhf-adaptersmui-chips-input
Installation — @piplup/rhf-adapters (mui-chips-input)
React Hook Form adapters for mui-chips-input components and custom chip-input composition.
@piplup/rhf-adapters/mui-chips-input connects mui-chips-input fields to React Hook Form.
First, install the core packages, if not installed already:
npm install @piplup/rhf-core react-hook-formThen, install the adapters package together with the MUI Material and mui-chips-input peer dependencies:
npm install @piplup/rhf-adapters @mui/material @emotion/react @emotion/styled @mui/x-date-pickers mui-chips-inputImport
import { MuiChipsInputElement, useMuiChipsInputAdapter } from "@piplup/rhf-adapters/mui-chips-input";The root @piplup/rhf-adapters entrypoint is not where the practical component and hook APIs live. Use the package /mui-chips-input subpath instead.