- Issue created by @Nelo_Drup
- πΊπΈUnited States apmsooner
Image fields have an extra wrapper added via ajax that prevents our classes from working correctly to get the styles. I don't unfortunately have a solution that gets around this and honestly think the inconsistencies in Drupal form widget wrappers due to use of ajax is a problematic issue to improve upon with theming.
- Merge request !58Add an after_build function to add classes to ajax wrapper div. β (Merged) created by apmsooner
- πΊπΈUnited States apmsooner
Here's a patch that adds an after_build function to add class to the ajax wrapper for managed_file types (ie; file/image form elements). Please test this with flexbox classes set for these form element types and ensure the class is applied to the most outer div and that files/images still upload normally. My own testing locally shows this issue resolved with this patch.
- Status changed to Needs review
5 months ago 3:07am 17 August 2024 -
apmsooner β
committed 251fc884 on 3.0.x
Issue #3445553: Error to select widget flexbox in field image
-
apmsooner β
committed 251fc884 on 3.0.x
- Status changed to Fixed
5 months ago 2:51pm 25 August 2024 - Status changed to Fixed
5 months ago 9:50pm 25 August 2024