FormBuilder: Client-side validation doesn't work on most field types
On the master branch:
- Create a new FormBuilder form.
- Add the "Most Important Issue" field and make it required.
- Give the form a path and save.
- Go to the form and click Submit
Expected behavior: "Please fill in the required field" notification, similar to a text field.
Actual behavior: Form submits. You get an unhelpful JS alert (I'll file on that separately).
Radio buttons, checkboxes fail. Text inputs and files don't. https://github.com/civicrm/civicrm-core/pull/25535/files purports to fix this for Select2 inputs.