Skip to content

feat: Add support for binding to nullable object #2995

@svrooij

Description

@svrooij

🙋 Feature Request

If I have a FluentTextField it would be useful if it could be bound to an string? meaning that it might be not provided. Same for a FluentSelect, binding to a nullable object would mean there is no item selected.

🤔 Expected Behavior

Instead of forcing the binding value to be not nullable, if would be nice if it were to be ignored when bound to a nullable object and just show an empty state (placeholder)

😯 Current Behavior

You get a build error if you try to bind to a nullable object

💁 Possible Solution

🔦 Context

💻 Examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    v5For the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions