there are only number (ID) but I would like to watch category_name, Not id. When i push button RU need to watch on Russian language When i push to En need to watch in English language. Can anyone help me ?
Asked
Active
Viewed 132 times
1 Answers
0
need to add method: ->displayUsingLabels()
Select::make('Size')->options([
'S' => 'Small'
])->displayUsingLabels(),

codeurient
- 1
- 2
-
Please provide additional details in your answer. As it's currently written, it's hard to understand your solution. – Community Aug 29 '21 at 11:38