Skip to content
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

Select and return number #90

Open
markplus opened this issue Nov 25, 2024 · 0 comments
Open

Select and return number #90

markplus opened this issue Nov 25, 2024 · 0 comments

Comments

@markplus
Copy link

markplus commented Nov 25, 2024

Summary of problem or feature request

I added this to have a list with a single value, when I click on the value and save it gives me back a number and not the name of the value I selected

$selectBuilding = Tvcc::orderBy('building')->pluck('id', 'building');
return $this->builder()
Fields\Select::make('building')->options($selectBuilding),

I see the list with a single value, I select, save and it gives me a number instead of the name
example I select Test, save, I see 5684

  • Operating System
  • PHP Version 8.2
  • Laravel Version "^10.10",
  • Laravel-DataTables Version "^10.1",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant