[<ReactComponent>] let TextAreaTest () = let value, setValue = React.useState "Not past 20 chars" Fui.textArea [ textArea.size.large textArea.onChange (fun (d: ValueProp<string>) -> if d.value.Length <= 20 then setValue d.value else setValue value ) textArea.value value textArea.appearance.outline textArea.resize.both ]
There was an error while loading. Please reload this page.