From ece95309731a415b80e52e101be065241b730763 Mon Sep 17 00:00:00 2001 From: Gabriel Almeida Date: Sun, 28 May 2023 17:57:33 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(inputComponent):=20change?= =?UTF-8?q?=20input=20placeholder=20text=20to=20be=20more=20descriptive=20?= =?UTF-8?q?=F0=9F=8E=A8=20style(inputListComponent):=20change=20input=20pl?= =?UTF-8?q?aceholder=20text=20to=20be=20more=20descriptive=20The=20placeho?= =?UTF-8?q?lder=20text=20for=20both=20input=20components=20has=20been=20ch?= =?UTF-8?q?anged=20to=20"Type=20something..."=20to=20be=20more=20descripti?= =?UTF-8?q?ve=20and=20provide=20better=20guidance=20to=20the=20user.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/components/inputComponent/index.tsx | 2 +- src/frontend/src/components/inputListComponent/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 8f8f4c587..c7047d494 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -32,7 +32,7 @@ export default function InputComponent({ disabled ? " bg-gray-200 dark:bg-gray-700" : "", password && !pwdVisible && myValue !== "" ? "password" : "" )} - placeholder="Type a text" + placeholder="Type something..." onChange={(e) => { setMyValue(e.target.value); onChange(e.target.value); diff --git a/src/frontend/src/components/inputListComponent/index.tsx b/src/frontend/src/components/inputListComponent/index.tsx index ea47af8f9..49b0a1a5a 100644 --- a/src/frontend/src/components/inputListComponent/index.tsx +++ b/src/frontend/src/components/inputListComponent/index.tsx @@ -33,7 +33,7 @@ export default function InputListComponent({ "block w-full form-input rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" + (disabled ? " bg-gray-200" : "") } - placeholder="Type a text" + placeholder="Type something..." onChange={(e) => { setInputList((old) => { let newInputList = _.cloneDeep(old);