You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating my db using admin panel from select dropdown, I discovered that Voyager is using the values of enum instead of enum itself, this causes an issue in my code when performing checking.
Steps to reproduce
in code
XEnum
case APPROVED = "APPROVED";
in BREAD
selectdropdown optional details
"APPROVED": "APPROVED"
Expected behavior
Voyager able to use enum in BREAD instead of just taking the value of enum
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Laravel version
10.10
PHP version
8.1
Voyager version
dev-1.6-l10
Database
MYSQL
Description
When updating my db using admin panel from select dropdown, I discovered that Voyager is using the values of enum instead of enum itself, this causes an issue in my code when performing checking.
Steps to reproduce
in code
XEnum
case APPROVED = "APPROVED";
in BREAD
selectdropdown optional details
"APPROVED": "APPROVED"
Expected behavior
Voyager able to use enum in BREAD instead of just taking the value of enum
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: