You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When dropdown options load in Obsidian Linter settings, the user-selected option is not shown as the currently selected item.
Steps to Reproduce
We can use the "Capitalize Headings > Style" option to demonstrate.
Open Obsidian Linter settings, and scroll down to the "Capitalize Headings" section
For the "Style" dropdown, choose a setting that's different from what's currently enabled. For example, if "Title Case" is currently your preferred setting, choose "All Caps".
Close the settings page. (Optional: test that the linter is now changing headings to "ALL CAPS").
Re-open the settings page, and scroll down to "Capitalize Headings"
Expected: that the newly selected option "ALL CAPS" is chosen as the Style (i.e. with a checkmark), and is currently shown
Actual: "Title Case" is still chosen as the Style, and it has the checkmark.
Video Demonstration
obsidian-linter-dropdown-settings-display-bug.mp4
Notes
This is only a "display" bug. The selected options continue to work as expected.
There is a side effect of not being able to easily go back to "Title Case" as your preferred option. You have to:
Choose a different option (e.g. "ALL CAPS")
Now choose "Title Case" (i.e. make sure the settings window is not closed)
I'll be putting up a pull request to propose a fix for this shortly
The text was updated successfully, but these errors were encountered:
muya
added a commit
to muya/obsidian-linter
that referenced
this issue
Jun 4, 2022
Description
When dropdown options load in Obsidian Linter settings, the user-selected option is not shown as the currently selected item.
Steps to Reproduce
We can use the "Capitalize Headings > Style" option to demonstrate.
Expected: that the newly selected option "ALL CAPS" is chosen as the Style (i.e. with a checkmark), and is currently shown
Actual: "Title Case" is still chosen as the Style, and it has the checkmark.
Video Demonstration
obsidian-linter-dropdown-settings-display-bug.mp4
Notes
The text was updated successfully, but these errors were encountered: