Programming Phoenix LiveView B10.0: Mentioned validate/2 function should be validate_required/2 (page 130)

Good catch! Will update in the next release.