Closed edgarfgp closed 2 years ago
This PR adds a convenient SetFocus extension to Focus(0 in a VisualElement that is not in the Screen and we want to trigger it .
BEFORE:
match loanAmountPickerRef.TryValue with | Some target -> target.Focus() |> ignore | None -> failwith "LoanAmountPickerRef not found"
Using this extenion
Picker(["1"; "2"], PickerMsg) .isVisible(false) .setFocus(model.X)
https://user-images.githubusercontent.com/31915729/158196819-9546524b-edd9-4227-bf64-1fd49eaee8a9.mp4
This PR adds a convenient SetFocus extension to Focus(0 in a VisualElement that is not in the Screen and we want to trigger it .
BEFORE:
Using this extenion
https://user-images.githubusercontent.com/31915729/158196819-9546524b-edd9-4227-bf64-1fd49eaee8a9.mp4