Flexbox for Date fields

Created on 19 April 2024, 8 months ago

Problem/Motivation

It looks like flexbox does not work date fields. Help text is always displayed under the date field, even widget is configured for Before input and also unable to add 3 date field column next each other in the same row. It always add a date field to a separated row.
I have tested with Claro admin theme.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @coaston
  • πŸ‡ΊπŸ‡ΈUnited States apmsooner

    It appears the claro theme handles date field wrappers differently than gin theme (which extends claro). Gin theme works fine for flexbox although the help text position as you describe does not have affect. Date fields I think have some after build functions that modify the form output and each theme may handle this differently. I can see if theres a more generic solution to handle the classes but most people are probably using the gin theme so perhaps trying that might be an immediate solution for you.

  • πŸ‡ΈπŸ‡°Slovakia coaston

    Thank you.

    I am not using Gin because there are issues with module Chosen which i use a lot.
    So customer will need to accept that date fields will be in a separated rows.

  • πŸ‡ΈπŸ‡°Slovakia coaston

    Hi apmsooner - The same for radio-button even I tried with GIN theme.
    Do you think you can bring patch for this one also ? (if so I will rename title of this issue)

  • Status changed to Fixed 1 day ago
  • πŸ‡ΊπŸ‡ΈUnited States apmsooner

    Marking fixed as these issues are addressed and fixed in this other ticket. It will be included in the next release: https://www.drupal.org/project/custom_field/issues/3492977 ✨ New subfield type 'Viewfield' like viewfield module Active . Feel free to test that new feature if you like introduced in that ticket.

Production build 0.71.5 2024