Show enums as buttons instead of dropdown menu
It'd be so cool to show enums as buttons like permission widget.
This can be helpful to create a toggle with explicit labels.
Nice to have: to be able to specify colors per button.
Can you please give an example of where and how this would be used?
Can you please give an example of where and how this would be used?
Use case: A variation for showing enums.
- So, it'd look like this mockup.
I wonder if the enum items can be like
{"value": "some_value", "label": "Some Label", "button_color": "#ffb600"} - instead of looking like a list.
@BigRoy : I've used department layers orders as example. However, we may not need to a target in this setting.
I've used department layers orders as example. However, we may not need to a target in this setting.
The target is for some decision level on how the resulting layer file is structured on first creation if I recall. If there's issues there or confusion about it - let's make a ticket on ayon-usd instead.
The target is for some decision level on how the resulting layer file is structured on first creation if I recall. If there's issues there or confusion about it - let's make a ticket on
ayon-usdinstead.
Indeed, the need for the target in my example above should be discussed in a different place.
However, I've just use it to show my frontend suggestion.
This works well when you have 1-3 options but as soon as you have 10 options to pick from that the UI is completely unusable.