updated translations
This commit is contained in:
parent
307d2621ce
commit
ffae2f728b
@ -51,5 +51,6 @@
|
||||
"create": "बनाएं",
|
||||
"operation": "ऑपरेशन",
|
||||
"next": "अगला",
|
||||
"select": "चुनें"
|
||||
"select": "चुनें",
|
||||
"productCode": "प्रोडक्ट कोड"
|
||||
}
|
@ -2,8 +2,10 @@ import PropTypes from "prop-types";
|
||||
import { AnimatePresence } from "motion/react";
|
||||
import clsx from "clsx";
|
||||
import FieldError from "./FieldError";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function FormSelect({ props, valid = true, className = "", options }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div>
|
||||
<select
|
||||
@ -14,7 +16,7 @@ function FormSelect({ props, valid = true, className = "", options }) {
|
||||
)}
|
||||
>
|
||||
<option disabled value="">
|
||||
Select
|
||||
{t("select")}
|
||||
</option>
|
||||
{options?.map(({ value, label }) => (
|
||||
<option key={value} value={value}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user