Skip to content

Think about adding add Base.disableWhen #46

@MangelMaxime

Description

@MangelMaxime

Signature would be

let disableWhen
        (condition: 'Values -> bool)
        (form: Form<'Values, 'A, 'Attributes>)
        : Form<'Values, 'A, 'Attributes>
        =
        Base.disableWhen condition form

I am unsure if we should add this helpers or if this would lead to bad practice in the library code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions