Bug description
We have a users field in a fieldset in default drop-down mode. Most of the users don't have names, only emails. In the drop down you see a mix of names and emails because some users do have name but those that don't fallback to email.
However you try to find a user by e-mail (because you can actually see it in the list), it's not found.
How to reproduce
users fieldtype
- have users with only email
- see the users in the drop down
- search for one of them by email
Logs
Environment
Environment
Laravel Version: 13.20.0
PHP Version: 8.5.8
Composer Version: 2.10.1
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: null
Cache: redis
Database: mysql
Logs: stack / daily
Mail: smtp
Queue: sync
Session: file
Storage
public/storage: LINKED
Livewire
Livewire: v4.3.3
Statamic
Addons: 13
License Key: Not set
Sites: 4 (zakat.org (EN), zakat.org (AR), zakat.org (TR), Mobile App)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.25.0 PRO
Statamic Addons
aryehraber/statamic-captcha: 1.17.0
jacksleight/statamic-bard-mutator: 3.0.5
jacksleight/statamic-distill: 1.2.0
marcorieser/statamic-livewire: 5.3.1
statamic-rad-pack/runway: 9.5.3
statamic-rad-pack/typesense: 3.2.1
statamic/seo-pro: 7.12.3
transformstudios/events: 6.1.2
transformstudios/front: 3.1.2
transformstudios/metal-prices: dev-2210-major-update-ai-model-in-prime
transformstudios/neon: dev-2210-major-update-ai-model-in-prime
transformstudios/prime: 6.5.1
transformstudios/review: 6.0.0
Installation
Fresh statamic/statamic site via CLI
Additional details
The workaround is use typeahead mode as that searches the email field as well.
Bug description
We have a
usersfield in a fieldset in default drop-down mode. Most of the users don't have names, only emails. In the drop down you see a mix of names and emails because some users do have name but those that don't fallback to email.However you try to find a user by e-mail (because you can actually see it in the list), it's not found.
How to reproduce
usersfieldtypeLogs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
The workaround is use
typeaheadmode as that searches the email field as well.