The field label and description as well as any other setting coming from the element array is currently not used.
For instance, if you set a label, a description or if you set the field as required, it's not going to be taken in account by the widget.
This has apparently been fixed for the widget applied on icon field types, See #2574161: field label and description missing, this issue is for text field types (patch following).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix-text-field-types-widget-2688361-2.patch | 981 bytes | jsacksick |
Comments
Comment #2
jsacksick commentedComment #3
d34dman commentedthanks for the report and patch. Am not using it for the use case you have just mentioned, so will wait for somebody who is already using it to review it.
Comment #4
hey_germanoThis fixes the issue for me. Thanks!
Comment #6
d34dman commentedThanks for the patch and test. Committed.