Skip to content

Error null when defaultValue on ResponsiveValue not specified #171

@Hasuki69

Description

@Hasuki69

image

before upgrading to the latest version, i can ignore the defaultValue. now i should specify the defaultValue with mediaquery width or it will error null.

i look at the code and find that you use defaultValue when the getValue is null, but you make the defaultValue nullable where its mean both can be null and cause the error when defaultValue not specified.
image

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