Not loading states properly #246
Unanswered
MohammadZarifiyan
asked this question in
Q&A
Replies: 1 comment
-
Hi there, Which problem are you having with this code? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
What is this code problem?
spatie/laravel-model-states: ^2.6
laravel/framework: ^9.24
Also I've used
->registerState()
in WithdrawRequestStatus.php, Error disappears butgetStatesFor('status')
returns empty collection. ButWithdrawRequestStatus::all()
works properly and returns full states list (Pending
/Rejected
/Paid
)Beta Was this translation helpful? Give feedback.
All reactions