Hidden bug for the 'Order' button
See original GitHub issueHello,
There is this line of code in index.razor:
<a href="checkout" class="btn btn-warning" disabled="@(Order.Pizzas.Count == 0)">
It does not work (even there is no display to check it) when there is no ordered pizza. I replaced it with the following line of code :
<a href="checkout" class="@ButtonCssClass">
...
@code
{
private string ButtonCssClass =>
OrderState.Order.Pizzas.Count == 0 ? "btn btn-warning disabled" : "btn btn-warning";
...
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Push Button / Hidden Cameras / Surveillance & Security ...
KOLAICE Hidden Camera Detectors Anti Spy Detector GPS Tracker Detector Infrared Camera Scanner Bug Detector Listening.
Read more >Any update on the hide button "bug"? : r/help
moving the mouse button outside the post/thread area then pressing h hides posts. no idea this is new or it if it was...
Read more >Multiple Action Buttons Hidden and label changed to "..."
I would like to have the ability to order the buttons in amongst the other details content, rather than being forced to have...
Read more >High-Tech Listening Devices Hidden In 8 Surprisingly ...
Here are just 8 of the latest high-tech listening bug disguises, and some may surprise you: 1. Credit Card. By far the most...
Read more >A Bashful Button Worth $8 Million
I grabbed my iPad and passed it around to build an order. ... I could figure out how much Olive Garden's checkout button...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @yopez83 😄 I am closing this issue if this is Ok.
@boukenka I have submitted a PR with some fixes including the one we discussed here.