Skip to content

No combined field if formatting number or unit #267

@PhilippImhof

Description

@PhilippImhof

Description of bug / unexpected behavior

The following two do not work:

{_0|w=34px|bgcol=red|txtcol=#FFF|left}{_u} 
{_0}{_u|w=40px|bgcol=#66F|txtcol=yellow|left}

In both cases, two separate input fields are shown, even though there is no space between the two placeholders which normally means that they should be combined.

Thanks @dbauer-ets for finding this one as well.

At the moment, I am not sure, what the correct behaviour should be. It would probably make sense to introduce a specific placeholder for a combined field when one wants to use custom formatting and to allow the legacy format {_0}{_u} only for unformatted fields.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions