Problem/Motivation
The contents of the Element description/help/more field is not displayed on the form.
Instead the description field is used to display Webform Booking errors. But validation does not work in current 1.1.x version. See #3501857 which fixes the validation of empty required Webform Booking fields.
Also the Webform Booking element produces invalid markup by adding two DIV elements with the same ID.

Steps to reproduce
Enter some text in the description field. It is not displayed on the form.
Proposed resolution
Do not override the element's description field. Then use Patch from #3501857 to properly display invalid required Webform Booking field.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | missing-element-description-invalid-markup-3501982-3.patch | 1.45 KB | electric.larry |
Issue fork webform_booking-3501982
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3501982-fix-missing-description
changes, plain diff MR !12
Comments
Comment #3
electric.larry commentedHere's the patch for 1.1.x.
You should also apply patch from 3501857. It fixes element validation and error handling.
Comment #5
rfmarcelino commentedThank you @electric.larry
Added.
Comment #7
rfmarcelino commented