-
-
Notifications
You must be signed in to change notification settings - Fork 670
Closed
Labels
Description
Describe the bug
When trying to work with Selects making them from a Query or a Model the value method doesn't work
To Reproduce
- Create a simple screen and a layout with a select
- To the select define ->value($key) with any key in the model
Expected behavior
Sets the base value
Screenshots
Select::make('counties')
->title('Counties')
->fromModel(County::class, 'name', 'name')
->value('Yell')
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version [e.g. 22]
Server (please complete the following information):
- Platfrom Version: 14.52.0
- Laravel Version: 12.17.0
- PHP Version: 8.2.12
- Database: Mysql