diff --git a/public/locales/uk/verdict.json b/public/locales/uk/verdict.json
index 9d6e092..ec9e57a 100644
--- a/public/locales/uk/verdict.json
+++ b/public/locales/uk/verdict.json
@@ -1,6 +1,7 @@
{
"Approved": "Схвалено",
"ApprovedWithComments": "Схвалено з коментарями",
+ "None": "Ніхто.",
"Pending": "У підготовці.",
"Rejected": "Відхилено",
"Reviewed": "Оглянуто."
diff --git a/src/components/common/Input.tsx b/src/components/common/Input.tsx
index d87b7e1..ed56eff 100644
--- a/src/components/common/Input.tsx
+++ b/src/components/common/Input.tsx
@@ -42,7 +42,7 @@ export interface InputProps {
placeHolder?: string;
readOnly?: boolean;
type: InputType;
- value?: string | number | readonly string[] | undefined;
+ value?: string | number | readonly string[] | boolean | undefined;
defaultValue?: string | number | readonly string[] | undefined;
min?: number;
max?: number;
@@ -56,6 +56,7 @@ export interface InputProps {
) => void;
maxLength?: number;
options?: { value: string; label: string }[];
+ title: string;
}
function Input(props: InputProps) {
@@ -74,6 +75,7 @@ function Input(props: InputProps) {
autoComplete,
onChange,
options,
+ title,
...rest
} = props;
@@ -88,7 +90,7 @@ function Input(props: InputProps) {
const [showPasswordIcon, setShowPasswordIcon] = useState(faEyeSlash);
if (type === InputType.checkbox) {
- checked = value === String(true);
+ checked = value === true || value === "true";
showValue = undefined;
divClassName = "form-check allignedCheckBox";
className = "form-check-input";
@@ -154,7 +156,12 @@ function Input(props: InputProps) {
return (
{(includeLabel === true || includeLabel === undefined) && (
-