Closed omarsancas closed 1 month ago
Hello! What's the desired behavior you're looking for? 🙂
I have not found a way to just display Emergency contact Phone number is invalid
because showing the parent class it's irrelevant for the end user. So I need to disable showing the parent class AnonymousClass:ColombiaClass is invalid:
I hope to makes sense
I hope you're doing well. I wanted to follow up on the comment. I understand you might be busy
Hey hey, I was on vacation, and eventually will come back here, but things would be faster if I'd have a failing spec 🙂
I figure it out, this error is not related to store_model gem so I'm going to close this issue. Thanks for your support!
I have this Base Class with sti_class
And I validate a column emergency_contact with StoreModel
When the phone number is not valid the message error show
AnonymousClass:ColombiaClass is invalid: Emergency contact Phone number is invalid.
I only wants to show Emergency contact Phone number is invalid in the backend, I try to overwrite with a lamba strategy or a custom validator but only override theEmergency contact Phone number is invalid