11 Replies
That's fine 🙂
What are you wanting to do to trigger the state change?
I want to create email_verify_at, when it is null then show not verify otherwise when it doesn't show verify
try:
->nullable()
no, not verify does not appear
Ignore that one, actually we introduced default so:
Should work
everything is verified
Re-add your code just set the default
My bad on how default works, it’s been a while 😄
okay, that's fine, thanks
I wouldn’t usually use getStateUsing it adds un-needed overhead in this situation since the state is already there and works. You’re now processing an entire record opposed to the state.