Link break within options of same submenu?


Is it possible to have a new link break within the same submenu?
For example, have "please select dialysis" under "please select chronic kidney disease" instead of appearing right after it.
Any advice or recommendations for a new snippet format is appreciated.

Hello Sarah,

You can achieve this by modifying the itemformatter field of your Dropdown command. Using the code (value) -> value & "\n" will add a new line after each field.

However, this won't work in the snippet preview (when showing what you have selected) only when the text is inserted.

Screenshot 2024-03-14 at 15.46.47

Unfortunately this did not work for me.
Pic below is before putting in the code in the itemformatter
Screen Shot 2024-03-14 at 2.50.05 PM

This pic is after i put in the code
Screen Shot 2024-03-14 at 2.50.19 PM

1 Like