Replies: 1 comment
-
you may use filter method. filterValue is designed for dropdowns (as i guest) that when you select a name and for example its value is 3, then, filtered th shows us as we search for "3". you may use filterValue here to make it show the meaning of "3" you can see filter usage in documentation of orchid website |
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
-
TD::make('id')->filterValue(function ($value) { $user = Good::find($value); return $user->name; }),
I've already change the return like return '1',but the value is still id.
Beta Was this translation helpful? Give feedback.
All reactions