You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It's not really a bug just a normal mistake. A PillButtonBar will need at least two items otherwise an assertion will be generated. As it states in the image of your code bellow, in the comments.
But in fact you have to put 3 items for it to work
To Reproduce
Steps to reproduce the behavior:
Make a PillButtonBar, have two items on it,
An assertion will fire.
Expected behavior
Allow a 2 items list, as stated in the comments of the code
Screenshots It should be items.lenght>=2 instead of items.lenght>2
Nice Work!
Love the Design! Keep up the Work!
The text was updated successfully, but these errors were encountered:
Describe the bug
It's not really a bug just a normal mistake. A PillButtonBar will need at least two items otherwise an assertion will be generated. As it states in the image of your code bellow, in the comments.
But in fact you have to put 3 items for it to work
To Reproduce
Steps to reproduce the behavior:
Make a PillButtonBar, have two items on it,
An assertion will fire.
Expected behavior
Allow a 2 items list, as stated in the comments of the code
Screenshots
It should be
items.lenght>=2
instead ofitems.lenght>2
Nice Work!
Love the Design! Keep up the Work!
The text was updated successfully, but these errors were encountered: