|
|
|
@ -52,7 +52,6 @@ export default function CreateQuestionEncounterForm({
|
|
|
|
|
placeholder="Company"
|
|
|
|
|
// TODO: Fix suggestions and set count back to 3
|
|
|
|
|
suggestedCount={0}
|
|
|
|
|
// @ts-ignore TODO(questions): handle potentially null value.
|
|
|
|
|
onSelect={({ value: company }) => {
|
|
|
|
|
setSelectedCompany(company);
|
|
|
|
|
}}
|
|
|
|
@ -69,7 +68,6 @@ export default function CreateQuestionEncounterForm({
|
|
|
|
|
isLabelHidden={true}
|
|
|
|
|
placeholder="Location"
|
|
|
|
|
suggestedCount={0}
|
|
|
|
|
// @ts-ignore TODO(questions): handle potentially null value.
|
|
|
|
|
onSelect={(location) => {
|
|
|
|
|
setSelectedLocation(location);
|
|
|
|
|
}}
|
|
|
|
@ -86,7 +84,6 @@ export default function CreateQuestionEncounterForm({
|
|
|
|
|
isLabelHidden={true}
|
|
|
|
|
placeholder="Role"
|
|
|
|
|
suggestedCount={0}
|
|
|
|
|
// @ts-ignore TODO(questions): handle potentially null value.
|
|
|
|
|
onSelect={({ value: role }) => {
|
|
|
|
|
setSelectedRole(role);
|
|
|
|
|
}}
|
|
|
|
|