You need to sign in to do that
Don't have an account?
Phuc Nguyen 18
Hide error message on component
Hello,
I have a LWC wrapped inside an aura component. Works great except it flashes a bief error message. But still saves new record and navigates to new record. Is there a way to suppress the error message? Not sure if its in the LWC or aura component though. Error message references google map api but see this in other org but no error message. Error message is in a scratch org.
Thanks
P
We cannot remove Lightning:input error message, Review below idea link and vote.
https://trailblazer.salesforce.com/ideaView?id=0873A000000CTZOQA4
However, you can use JS as a workaround. Below link has workaround using JS.
https://salesforce.stackexchange.com/questions/163861/lightninginput-hide-reset-field-level-error-message-enabled-by-using-showhe
Thanks,
Vinay Kumar