Dropdown Vars
pendingby Majid Khonji
Dropdowns in Reading and Live Preview; sync to frontmatter or inline Dataview.
Obsidian Dropdown Vars Plugin
Easily create interactive dropdowns in your notes and optionally sync their values to Dataview inline fields.
Features
- Dropdowns with syntax:
{Status: A | B | ^C} - Click to open and select a value; caret
^marks the selected option - Optionally sync selection to Dataview inline field:
(Status::C) - Dropdown renders as
Status ▾in Live Preview when Dataview sync is enabled - Only one inline field per dropdown, always updated
- Compatible with Dataview queries:
= this.Status
Usage
- Write a dropdown token in your note:
{Status: Todo | ^In Progress | Done} - Enable "Persist to inline Dataview" in plugin settings to sync selection:
{Status: Todo | ^In Progress | Done} (Status::In Progress) - Use Dataview inline queries:
Status: `= this.Status`
Settings
- Persist to frontmatter: Save selection to YAML frontmatter
- Persist to inline Dataview: Add inline field after dropdown token
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.