Create a dropdown menu in a custom block

In order to create a custom dropdown for a custom block, first click on an input to edit it.
Then click the gear icon in the bottom right corner, and click options (you can also click read-only to prevent typing in the dropdown).
After that, in the window that pops up, you can start making the dropdown.

Each line is one dropdown item.
The input's return value will exactly be the name of the value.
You can also create submenus:

  1. To add a submenu, simply type the name of the submenu like a normal item, but add "={" in front of it.
    Make sure to put a newline after it to work correctly.
  2. Type in the items for the submenu after the ={, like normal items.
  3. Add a "}" after the last item in the submenu. Make sure to put a newline before AND after it to work correctly.
    For example, this:
dropdown
procedure={
block
reporter
predicate
}
Snap! modification

becomes this:
snapdropdown

no it's not, it's great!

oooof

yeah, I just wanted to assure him.

You can change that with =
a=b will appear in the menu as a but will change to b when selected.

Great Work!

Before the input options button, you had to right-click the gray area (if you did not know that already)

you can ALSO

.

That is what I meant by the input options button.

  • It is a button
  • It has a gear on it (usually when it has options)
  • It is in the input menu

you said you had to right-click the grey area. that isn't true.

You can still do it, they have not removed it.

:angry: you said "

".

And I also said:

you don't need to right click the grey area at all.

Again, I said before they added the button with the gear icon.

Again, you do not need to right-click the gray area before clicking the gear icon; either works independently: right-click gray or left-click icon, whichever you prefer.

I am talking about before they added the button with the gear icon.

I am going to go to a different thread now.

Oh Oh
No fighting