Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295845

Add a possibility to disable inline form errors for a complete form

$
0
0

This is a follow up of #2828092: Inline Form Errors not compatible with Quick Edit .

In certain cases (like what Quick Edit does with forms) we want modules to have the possibility to disable Inline Form Errors (IFE) completely.

We shouldn't encourage maintainers to do so because we don't want bad ux and a11y, but in cases those issues are covered they do need the possibility to create their own form interaction UI.

Proposed solutions

- @catch: Keep a .yml file with form_ids that should be excluded
- @tstoeckler and @dmsmidt: add a form property which can be used to disable IFE $form['#disable_inline_form_errors'] = TRUE

Tasks

- Agree on a generic solution
- Create a patch with the new solution (tests not needed, they should be in place #2828092: Inline Form Errors not compatible with Quick Edit )
- Apply the generic solution to Quick Edit (cleanup)


Viewing all articles
Browse latest Browse all 295845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>