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