For this component::
<lightning-input type="toggle" ...></lightning-input>
the "Inactive" and "Active" text appears to be fixed:
Is it? Is coding this up per the SLDS documentation the only way to change it?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityFor this component::
<lightning-input type="toggle" ...></lightning-input>
the "Inactive" and "Active" text appears to be fixed:
Is it? Is coding this up per the SLDS documentation the only way to change it?
As per the documentation use the:
Attributes on the lightning-input itself to define the text.