- Notifications
You must be signed in to change notification settings - Fork1.1k
fix(site): fix disappearing preset selector when switching template#20514
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
johnstcn left a comment
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.
LGTM, but will happily defer to other reviewers' feedback.
aslilac commentedOct 28, 2025
the |
DanielleMaywood commentedOct 28, 2025
@aslilac I've re-added the |
aslilac left a comment
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.
I'm fine with this fix, but left some food for thought and would like to see a comment or something describing the pitfalls that the fix is supposed to smooth over
Uh oh!
There was an error while loading.Please reload this page.
9629d87 intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closes#20465
Ensure we set
selectedPresetIdtoundefinedwhen we changeselectedTemplateIdto ensure we don't end up breaking the<Select>component by giving it an invalid preset id.