Prefix/Suffix not inline with autocomplete field

Created on 1 September 2024, 18 days ago
Updated 9 September 2024, 9 days ago

Problem/Motivation

The prefix and suffix of fields works well if textfields are shown:

But if you have an entity reference with autocomplete in a multifield it is no longer inline. See the screenshot, please.

Verfied with Claro in D10.3.2.

Steps to reproduce

1. Add an entity reference with limit of 2 fields.
2. Add a suffix and prefix.

Proposed resolution

Make it inline like text fields.

Root cause CSS selector seems to be

td > .form-item > .claro-autocomplete > .form-element {
 width: 100%;
}

Setting to "auto" or removing it fixes the issue. As I have no idea why it is 100% I'm not sure what the intentional idea was about the 100%. Maybe there is a better solution than removing the 100% width.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Needs review

Version

11.0 ๐Ÿ”ฅ

Component
Claroย  โ†’

Last updated about 13 hours ago

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany marc.bau

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024