Skip to content

Ability to add fallback/default values if some widget is null #182

Description

@luccahuguet

Describe the solution you'd like
it would be nice being able to do something like:
If swap_layout {swap_layout} Else {"mycustomfallback"}
or {swap_layout ||"mycustomfallback"}

This is related to the case where i want to show the current swap layout, but in the default tab template, when i open a new tab, there is none active. So it looks like this:

Image

instead of having a value (which it does, after I open a new pane and a swap layout activates):

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions