Salesforce Lightning Web Component

Salesforce

How to get content from lightning-input-rich-text without HTML Tags?

HTML: <template> <lightning-input-rich-text value={myVal} onchange={handleChange}> </lightning-input-rich-text> <lightning-button variant="brand" label="Click!" title="Looks like a link" onclick={handleClick} class="slds-m-left_x-small"></lightning-button> </template> JavaScript: import { LightningElement } from 'lwc'; export default class SampleLWC extends LightningElement { ....

Salesforce

How to search Address from Google using LWC in Salesforce and save it to the record?

HTML: <template> <div class="slds-box slds-theme--default"> <lightning-record-edit-form record-id={recordId} object-api-name={objectAPIName} onsuccess={handleSuccess} onsubmit={handleSubmit}> <lightning-messages> </lightning-messages> <lightning-input-address address-label="Address" street-label="Street" city-label="City" country-label="Country" province-label="State/ Province" postal-code-label="Zip/ Postal Code" onchange={addressInputChange} show-address-lookup> </lightning-input-address> <lightning-button class="slds-m-top_small" type="submit" label="Update Address"> ....