-
-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Please fill out these Check-boxes
- I checked for existing similar issues
- I checked that the plugin is up to date
- The issue persists with all other plugins and themes disabled
Plugin Version
1.3.3
This Issue Occurs on
- Windows
- Linux
- macOS
- Android
- iOS
Debug Info
SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.7.7
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 3
Restricted mode: off
Plugins installed: 25
Plugins enabled: 4
1: Templater v2.9.2
2: Meta Bind v1.3.3
3: Dataview v0.5.67
4: Book Search v0.7.5
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Describe the Issue
(I disabled all but the plugins needed for this note template.)
I use Obsidian to keep detail-heavy notes on books. I've been doing this a while just with Book Search, Templater, and manual addition of tags in the note, but I'm porting everything over to Meta Bind for neatness. I should say these aren't "normal" notes I keep, so much as technical data on the books that would interest a writer, so most of the details I've connected to tags and would prefer to keep it that way (e.g., #pov/first, #tense/past).
As a lot of "category groups" of tags are relevant to this endeavor, I've traditionally had little subsections in my book notes to help me with my workflow (e.g., headings that prompted me for related tags: Perspective, Tense). I've tried to maintain that structure while adding Meta Bind inputs that store to the special "tags" property. Unfortunately, I've found that using Meta Bind inputs to store to the same property causes overwriting rather than the amending behavior I expected.
I would switch to properties entirely and move away from tags, but...that'd require a lot of work on old notes that I don't want to do.
Steps to Reproduce
Create an input that stores information to tags. For example:
INPUT[select(
option(#author/gender/women, Women Writing),
option(#author/gender/men, Men Writing),
):tags]
Now create another input that also stores information to tags. For example:
INPUT[inlineListSuggester(
option(#published/2020s),
option(#published/2010s),
option(#published/2000s),
option(#published/1990s),
allowOther(true)):tags]
Select an option in the first input. It adds it to tags. Good! Buuut it also thinks I added it to the second input and shows it selected in both input types since both point to tags.
If you then select an option in the second input, it will append. Now you've got gender and publishing decade both in tags. This is okay in the most technical sense, even if the journey there has been clunky. But if you go back and change the selection on the first input, everything is overwritten. The new gender selection appears, and the publishing decade is no longer selected, having been overwritten by the first input.
Expected Behavior
Honestly just expected it to work and add/remove the tags without affecting each other's inputs. 😂 It feels like there needs to be a unique identifier for each input, so it won't interfere with another input's behavior. Associating the input with where it is storing something is sure to cause conflicts like this when it comes to tags.