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
I was build a shopping cart.
There was a list of stuff. I listed the titles of them with menu, with the price in the badge.
When an item is selected, detail information will be shown, but not added to the cart.
I want to use checkbox to indicate if it is added to the cart or not.
What I thought is to put the checkbox in the menu-badge, and one can click the price to add it to the cart.
@picturepan2 Quite close. When the text of the menu item is long enough (multiple line), the checkbox would overlay the text. And I want the badge has some background, so I add "label label-primary" class on the badge, but then it behaves a little different from a normal badge on a multiple-line menu-item. Its height is enlarged.
I was build a shopping cart.
There was a list of stuff. I listed the titles of them with
menu
, with the price in the badge.When an item is selected, detail information will be shown, but not added to the cart.
I want to use checkbox to indicate if it is added to the cart or not.
What I thought is to put the checkbox in the menu-badge, and one can click the price to add it to the cart.
But with
the checkbox is outside of the badge. While with
the height of the badge is too large.
The text was updated successfully, but these errors were encountered: