What I’m trying to do
After several hours of research trying to get the solution to this issue, I still don’t get it: is there a way to correct this error in batch for all the notes involved?
This happens when changing the type of the property, in this case from List to Text. That warning sign appears saying saying “Type mismatch, expected text”.
If I click on the warning sign, it fixes it.
When going to the YAML in source mode to see how it fixes it, I see that it’s something it has to be with the formatting:
Before:
After click on the warning sign (it fixs it):
I have a lot of notes to fix doing this process, so I was looking for ways to fix all of them in bulk. Since clicking in the warning sign can fix one of them, is there a way to do this process in bulk for all of them? (may be it exists natively in Obsidian and I’m not finding it)
Things I have tried
I’ve tried the plugin Linter to fix in bulk the formatting for all the values of that property. Is there this option: “Format YAML array sections” (here you can see the details in the plugin documentation), but it formats all the values instead just the one I want (“tabSelection” in this case). Is there a field in the plugin that says “Force key values to be single-line arrays” and I’m putting just the name of the property I want to change but it changes them all (so I’m not using it correctly I assume).
And it formats it like this with the value between brackets instead of fixing it the correct way like the one shown above
Is there a way to do this with this plugin, or natively with Obsidian, or other more easy and practical solution?