How to set action when the done button tapped in PickerInputRow #2157
Unanswered
repipetokyo
asked this question in
Q&A
Replies: 1 comment
-
You could use If you need an action to run only when the Done button is tapped then your best chance might be to create a custom NavigationAccessoryView and set it as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to run a function after the "done" button in pickerView created by PickerInputRow is pushed.
.onCellSelection is called only when the cell is selected, with which you can't get the value after the picker is edited.
If you run a function inside .onChange closure it runs every time the picker value changes, also when the cancel button is tapped, which is not ideal in my case.
Is there any method to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions