diff --git a/apps/web/components/editorjs/tools/PhoneQuestionComponent.tsx b/apps/web/components/editorjs/tools/PhoneQuestionComponent.tsx index 23a2ec130e..3a25e2e6d6 100644 --- a/apps/web/components/editorjs/tools/PhoneQuestionComponent.tsx +++ b/apps/web/components/editorjs/tools/PhoneQuestionComponent.tsx @@ -49,6 +49,7 @@ const PhoneQuestionComponent = (props: Props) => { defaultValue={data.label} className="w-full border-0 border-transparent p-0 ring-0 placeholder:text-gray-300 focus:ring-0" placeholder="Your Question" + onChange={onInputChange("label")} /> {data.required && (
@@ -65,6 +66,7 @@ const PhoneQuestionComponent = (props: Props) => { name="website" className="block w-full rounded-md border-gray-300 pl-10 text-gray-300 sm:text-sm" defaultValue={data.placeholder} + onChange={onInputChange("placeholder")} />
{ defaultValue={data.help} className="mt-2 block w-full max-w-sm border-0 border-transparent p-0 text-sm font-light text-gray-500 ring-0 placeholder:text-gray-300 focus:ring-0" placeholder="optional help text" + onChange={onInputChange("help")} /> );