Modal Form Multiselect not producing a Text Type

Recently found out about the Modal Form Plugin and am trying to use it for meeting notes I take occasionally. Currently I’m trying to select options from predetermined inputs and select it based on what the meeting notes are for, but when it populates the YAML, Dataview doesn’t recognize the YAML and Modal Form Multiselect creates it as another type other than Text. How can I make this text? See below for screenshots.

What I’m trying to do

From running my Modal Form I want to select one of the options within the Hierarchy multi select to populate YAML code on my note.

After selecting Commercial and adding an additional text to Projects, the note is created. But
I receive an error stating that the YAML code is not text.

With this type not being text, my dataview table doesn’t read the property and I can’t use it effectively.

Here is my template that I’ve used.

If I need to explain more please let me know.

Thanks!

You do seem to have some issue related to populating the property correctly. However this resembles a problem we had when transitioning towards properties, where you could use the following slightly ugly trick to make a single value or a list value both behave as a list value: flat(list(Hierarchy)).

If you don’t figure out why your modal form doesn’t produce a list all the time, you could try to use the construct above to force it into being a list value.