jneilliii / OctoPrint-BedLevelVisualizer

MIT License
369 stars 82 forks source link

[FR]: support dropdown lists for param inputs #612

Open git-rz opened 1 year ago

git-rz commented 1 year ago

As a mobile user of the web ui, changing the command parameters using keyboard entry is tedious.

To make it easier, I'd like to be able to use dropdown lists.

You could add a real nice UI for this within the Command Editor screen, or you could just add a special syntax for the default value box that is already there:

Label Parameter Default
Tool t {{0,1}}

image

Bonus if the dropdown options can be tested out / render in the button that is used to save & dismiss the editor dialog.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days

jneilliii commented 1 year ago

Neat idea. Implementation may be tricky because of how knockout binds data/values but I could see about implementing this.