Programming Phoenix LiveView B10.0: Validation rule already listed in book on page 77

On page 77 the book tells us to add a validation rule checking that the unit price is greater than 0.0 then on page 161 it’s suggested that we add that rule as an exercise.