Validation message

In a Wizard, for one step the select field shows red text with the validation error. For the next step, it shows the pop-up message with the validation error. There isn't any difference in how I set up the Select fields. Any suggestions would be appreciated. Thanks.
Screenshot_2023-11-09_at_11.15.10_AM.png
Screenshot_2023-11-09_at_11.15.29_AM.png
Solution
This is a byproduct of using ->required() vs ->rules().

Required will add the required attribute to the input if it is a native input, meaning it will trigger the browser’s built in validation.

Rules will not do this and allow a submission that would be handled by the server and returned as a failure.
Was this page helpful?