mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
Introduce new combobox and make it work with chip input
We introduced a new accessible combobox component. This component is based on headless ui and made compatible with our components and forms. Also we replaced the outdated `Autocomplete` component with the new combobox. Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com> Reviewed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
This commit is contained in:
@@ -25,6 +25,12 @@ import React, { FC } from "react";
|
||||
import UserGroupAutocomplete, { AutocompleteProps } from "./UserGroupAutocomplete";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @since 2.45.0
|
||||
*
|
||||
* Use {@link Combobox} instead
|
||||
*/
|
||||
const GroupAutocomplete: FC<AutocompleteProps> = (props) => {
|
||||
const [t] = useTranslation("commons");
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user