- Notifications
You must be signed in to change notification settings - Fork905
fix: select default org in template form if only one exists#16639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
return ( | ||
<Autocomplete | ||
noOptionsText="No organizations found" | ||
className={className} | ||
options={options} | ||
disabled={options.length === 1} | ||
value={selected} |
Kira-PilotMar 7, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Populatingvalue
is necessary so that the selected org shows in the Autocomplete.
site/src/components/OrganizationAutocomplete/OrganizationAutocomplete.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…omplete.tsxCo-authored-by: ケイラ <mckayla@hey.com>
191b0ef
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
resolves#16849coder/internal#147
