custom messages on login failure
hey ! im using metronics with react and i want to give custom messages to the user based on the responce that i am getting from the api.
Replies (2)
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Hey! You can definitely customize messages in React based on your API responses. Just check the response status or message in your .then() or async/await logic, and set your message accordingly using state. Metronic’s alert or toast components work great for showing feedback—super handy for giving users a smooth experience. Let me know if you need a code example!
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Hi,
Sorry for the late reply.
Could you please let us know your template name and version ? Then we can provide you with guide.
Regards,
Sean
Deleted comment