-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template variables: Default to first option if URL does not provide #36839
Conversation
Am I missing the reason why the selected option needs to have
|
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.
code lgtm, but does it solve the problem specified in #35471 (comment)?
seems the problem stated there is that it's defaulting to the first option instead of the option saved in the json. as far as i can tell, this will also default to the first option? it's definitely better than being blank, but idk if it solves the original problem.
You're right. I'm not sure how I would approach that though. Defaulting to the first option seems like a better thing than having it blank. Maybe merge it like this for now and then come back to it? |
oh yeah absolutely, it's definitely a step forward 🥳 |
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 think we need to find a better solution to the root issue here
#35471 (comment)
Superseeded by #37776 |
Which issue(s) this PR fixes:
Fixes #35471
Special notes for your reviewer:
I'm currently looking at writing tests.