From e3115f772d3f5acbf646d9bedb432b0f6b17fe8d Mon Sep 17 00:00:00 2001 From: Jeff Sieu Date: Wed, 19 Oct 2022 19:52:01 +0800 Subject: [PATCH] [questions][fix] forwardRef error with typeahead --- apps/portal/src/pages/questions/index.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/portal/src/pages/questions/index.tsx b/apps/portal/src/pages/questions/index.tsx index 32df9559..f374553d 100644 --- a/apps/portal/src/pages/questions/index.tsx +++ b/apps/portal/src/pages/questions/index.tsx @@ -205,7 +205,11 @@ export default function QuestionsHomePage() { ( + renderInput={({ + onOptionChange, + options, + field: { ref: _, ...field }, + }) => ( ( + renderInput={({ + onOptionChange, + options, + field: { ref: _, ...field }, + }) => ( ( + renderInput={({ + onOptionChange, + options, + field: { ref: _, ...field }, + }) => (