Are you wondering how to set classes on Drupal 8+'s FAPI checkboxes / radios single options or disable one of them? Let me help you! Checkboxes and Radios Form Elements are implemented similarly in Drupals Form API (FAPI): // Checkboxes:
Form API
Drupal Form API doesn't offer a native HTML type="reset" button known from the W3C: https://www.w3.org/TR/2012/WD-html-markup-20121025/input.reset.html So if you ever need one, this might be a good starting point in Drupal 8+: 'reset' => [
Today I ran into a very very mad bug: conditional_fields.module did not correctly work in IE, as discussed in this issue: https://www.drupal.org/node/1373656 But as I later found out and posted here this problem is based on the FAPI #states
Some days ago we had the requirement to display some entityforms and other Drupal Core forms like the login in modal windows. The second requirement is easy to solve. Many modules like colorbox.module, lightbox.module and others solve this
Dir hat dieser Beitrag Zeit und viele Nerven gespart?
Dann würde ich mich sehr über einen leckeren Kaffee freuen! Oder ein spannendes Tech-Buch aus meiner Wunschliste?