diff --git a/rsconcept/frontend/src/components/Common/TextInput.tsx b/rsconcept/frontend/src/components/Common/TextInput.tsx index 57a55300..8af9eab2 100644 --- a/rsconcept/frontend/src/components/Common/TextInput.tsx +++ b/rsconcept/frontend/src/components/Common/TextInput.tsx @@ -8,24 +8,27 @@ extends Omit, 'className' | 'title'> dimensions?: string colorClass?: string singleRow?: boolean + noBorder?: boolean } function TextInput({ - id, required, label, singleRow, tooltip, + id, required, label, singleRow, tooltip, noBorder, dimensions = 'w-full', colorClass = 'clr-input', ...props }: TextInputProps) { + const borderClass = noBorder ? '': 'border'; return (
- {label &&