diff --git a/public/locales/en.json b/public/locales/en.json index bbca163..b6ded9f 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -842,6 +842,7 @@ "namePicker": { "placeholder": "Choose a name", + "placeholderMultiple": "Choose names", "warningTotalLimit": "You seem to have more than 1,000 names, which is not yet supported in KristWeb v2. Please post an issue on GitHub.", "errorLookup": "There was an error fetching the names. See the console for details." diff --git a/src/pages/names/mgmt/NamePicker.tsx b/src/pages/names/mgmt/NamePicker.tsx index 5f214fc..5d8835f 100644 --- a/src/pages/names/mgmt/NamePicker.tsx +++ b/src/pages/names/mgmt/NamePicker.tsx @@ -80,7 +80,13 @@ } -export function NamePicker(): JSX.Element { +interface Props { + multiple?: boolean; +} + +export function NamePicker({ + multiple +}: Props): JSX.Element { const { t } = useTranslation(); // Used to fetch the list of available names @@ -108,7 +114,12 @@ // TODO: wrap this in a Form.Item return