Skip to content

[1.11.0rc1] Custom Control Manager: "horizontal_grid" layout is not rendering correctly in the settings #5096

@foosel

Description

@foosel

Problem

The controls below should be next to each other, not below each other:

Image

CSS of the elements shows

class="span[object Object] offset[object"

so obviously something's not being parsed correctly here.

Reported and analysed on Discord by @kantlivelong and @jneilliii (thanks!)

Solution

self.controlVM.rowCss is being called with a control object that still has observables as props instead of raw values. ControlViewModel.rowCss doesn't expect that however. The solution is to unpack the observable before handing it to ControlViewModel.rowCss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedIssue has been approved by the bot or manually for further processingbugIssue describes a bugdoneDone but not yet released

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions