Piplup
@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-form

Then, 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-input

Import

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.

See also

On this page