cnthompson / Beer366

It's a One-A-Day Leap Year Beer Celebration
6 stars 2 forks source link

Bound errors on a field cause some entered data to be lost. #38

Open cnthompson opened 10 years ago

cnthompson commented 10 years ago

On the Add/Edit Beer page, if the a bound on a field is violated when Add Beer is pressed, all fields except the BA Page are properly re-populated with the typed information.

starryknight64 commented 10 years ago

I imagine this is because of ABV not being between 0 and 100? If so, this should be fixed in #37

Unless you're changing the underlying HTML like you can in Chrome when there's an error on the page, I'd expect that when Add Beer is pressed the page would do nothing other than notify the user what the first error it finds is.

starryknight64 commented 10 years ago

If I remember correctly, this was as a result of Firefox not rendering this page the same way that Chrome does.