function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC 1904SFDC 1904 

How can we hide errors while using lightning data service (lightning-record-form web component)?

I want to remove standard slds ".slds-notify_container" and add custom toast message in my lwc component.
AnudeepAnudeep (Salesforce Developers) 
The workaround in this scenario is to embed a LWC component in AURA component and use "force:showToast" event handler from AURA component to execute a callback logic upon closing the standard pop ups e.g New, Edit.

As far as I know, it is not possible to capture toast notification generated from standard pop ups using LWC at this moment

I would like to suggest you post this scenario on the IdeaExchange portal so that the Salesforce product team will consider this in future releases.

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you