Skip to content

Suggestion: app$layout should allow non-components #259

@daattali

Description

@daattali

The layout only allows proper Dash components, which makes it cumbersome to add simple text to the page.

It would be helpful if the componentify internal function would allow other simple types like a string, a numeric, a date, a boolean, etc.

It would transform this:

app$layout(list(htmlSpan("My app"), htmlBr(), htmlSpan("By Dean Attali"), htmlBr(), htmlSpan("Version"), htmlSpan(2)))

into this:

app$layout(list("My app", htmlBr(), "By Dean Attali", htmlBr(), "Version", 2))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions