Fable.Form icon indicating copy to clipboard operation
Fable.Form copied to clipboard

Think about adding add `Base.disableWhen`

Open MangelMaxime opened this issue 1 year ago • 0 comments

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.

MangelMaxime avatar Feb 15 '24 17:02 MangelMaxime