mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-27 12:03:41 +08:00
[questions][chore] update to use company table values (#351)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
This commit is contained in:
@@ -84,9 +84,8 @@ export default function ContributeQuestionForm({
|
||||
name="company"
|
||||
render={({ field }) => (
|
||||
<CompaniesTypeahead
|
||||
onSelect={({ label }) => {
|
||||
// TODO: To change from using company name to company id (i.e., value)
|
||||
field.onChange(label);
|
||||
onSelect={({ id }) => {
|
||||
field.onChange(id);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user