-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is possible to pass a hidden field in the SearchTextFieldItem like an user ID? #80
Comments
I had the same requirement. I extended SearchTextFieldItem and added an id attribute |
Thanks @kamerc, is that extension shared in github or just in your project? I'm curious :) |
then use MySearchTextFieldItem in your code where you would have used SearchTextFieldItem |
Thanks!
|
@kamerc Thanks for the solution but how can I access the ID in selection call back. itemSelectionHandler returns me the custom models but it is not returning the ID in that |
Whats is the best way to pass a user id to a variable as people use SearchTextField, since SearchTextFieldItem has only 3 param, how can I pass a hidden param of find the user id comparing the SearchTextFieldItem to a User List = Users or user the users list as a SearchTextFieldItem with hidden params.
The text was updated successfully, but these errors were encountered: