- Issue created by @marc.bau
- ๐ณ๐ฟNew Zealand quietone New Zealand
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.
- ๐ฉ๐ชGermany marc.bau
The 100% width is also causing the issue in #3471683
- ๐ฎ๐ณIndia Nayana Ramakrishnan
nayana_mvr โ made their first commit to this issueโs fork.
- Merge request !94203471459: Fix prefix or suffix not inline with autocomplete field issue โ (Open) created by Unnamed author
- Status changed to Needs review
14 days ago 6:24am 5 September 2024 - ๐ฎ๐ณIndia Nayana Ramakrishnan
I'm able to reproduce the issue in Drupal core 11.x . Steps followed:-
- Created a new text field and entity reference field with limit 2 in the content type 'Article'
- Created a custom module
- Added 'field_prefix' and 'field_suffix' for both the newly created fields.
- For text field, prefix and suffix are coming as inline but for entity reference itโs not.
Attached screenshots for reference
I tried the suggested solution i.e., changing
width: auto;
for the entity reference input element and it fixes the issue. Also, created an MR for the same.
Noticed that entity reference field without limit doesnโt have 100% width. So making the above changes, both type of entity reference fields will have same width. I'm not sure if that is an issue here.
- Status changed to Needs work
14 days ago 1:23pm 5 September 2024 - Status changed to Needs review
9 days ago 1:56pm 9 September 2024 - ๐ฎ๐ณIndia Nayana Ramakrishnan
One file was missing in the commit. I have added that and now the build issue is fixed. Kindly review.