-
-
-
- Ostris - AI Toolkit
+
);
diff --git a/ui/src/components/formInputs.tsx b/ui/src/components/formInputs.tsx
index 7f53e681..a9908bd0 100644
--- a/ui/src/components/formInputs.tsx
+++ b/ui/src/components/formInputs.tsx
@@ -2,8 +2,8 @@
import React, { forwardRef } from 'react';
import classNames from 'classnames';
-import dynamic from "next/dynamic";
-const Select = dynamic(() => import("react-select"), { ssr: false });
+import dynamic from 'next/dynamic';
+const Select = dynamic(() => import('react-select'), { ssr: false });
const labelClasses = 'block text-xs mb-1 mt-2 text-gray-300';
const inputClasses =
@@ -42,7 +42,7 @@ export const TextInput = forwardRef(
/>
);
- }
+ },
);
// 👇 Helpful for debugging
@@ -114,6 +114,7 @@ export const NumberInput = (props: NumberInputProps) => {
export interface SelectInputProps extends InputProps {
value: string;
+ disabled?: boolean;
onChange: (value: string) => void;
options: { value: string; label: string }[];
}
@@ -122,11 +123,16 @@ export const SelectInput = (props: SelectInputProps) => {
const { label, value, onChange, options } = props;
const selectedOption = options.find(option => option.value === value);
return (
-
+
{label && }
-