Loading an LWC component results in a warning if your component includes a <template>
element includes an invalid attribute. For non-root <template>
elements, only the following directives are supported: for:each
, iterator:iteratorName
, and if:true|false
. We strongly recommend resolving any issues by removing any invalid attributes from your component's <template>
element.
In Spring’23, this invalid usage of the <template>
element doesn’t render correctly, and loading a component that contains this invalid usage will result in an error. For example, the non-root <template>
element in this example contains an invalid attribute.

To fix the warning and ensure that your component continues to load correctly in future releases, remove the invalid attribute or use another element like <div>
or <span>
, depending on your use case.

3.Be Ready for Multi-Factor Authentication Auto-Enablement
The requirement to use multi-factor authentication (MFA) when accessing Salesforce products went into effect on February 1, 2022. All users must now use MFA when they login to Salesforce, whether they’re logging in directly or using single sign-on (SSO). To help customers satisfy this requirement, in the first half of 2023, Salesforce is automatically enabling MFA for direct logins. In the September 2023 timeframe, we’re enforcing MFA by making it a permanent part of the Salesforce login process. To avoid disruptions to your users when these milestones occur, enable MFA as soon as possible.
Salesforce Flow Enhancements
There are several enhancements in Salesforce Flow as follows:
- Cut and Paste Flow Elements:Change the order of flow elements auto-layout faster by using cut and paste. Previously, to move an element on the canvas, you copied and pasted the element then deleted the original element, and then you updated the API name of the pasted element.
- Use Formula Builder in Flow Resources and Collection Filter Elements: You can now use an enhanced formula builder in Flow Formula-type resources and the Collection Filter element. The builder guides you through the syntax so that you can create an expression more easily. Instead of waiting until you save a flow, you can check the formula syntax and catch errors as you work.
- Select Multiple Records in the Lookup Flow Screen Component : Now you can search and then select more than one record with the Lookup flow screen component. You can specify a selection maximum and one or more default records.
- Add the Lookup component to your screen flow and set the Maximum Selections field to a value greater than 1.
- Use Record-Triggered Flows to Update Related Records: Now you can use record-triggered flows to update any records related to the triggering record.
- Launch Screen Flows With Lightning Web Components : Embed a screen flow from any Lightning Web Component with the new lightning-flow component. Developers can supercharge their flows by customizing finish behavior, setting custom styling, or launching flows from their Lightning Web Components. And they can offload complex input collection and branching logic to Flow, saving time and money.
- Example shows an LWC component with the Survey_customers flow API name.
- Use In and Not In Operators in Flows to Find Related Records : With the new In and Not In operators, a flow accesses a collection of primitive values to get related records without using the Loop element. The flow uses fewer SOQL queries and DML statements and performs faster. The new operators support accessing collections of type Text, Number, Date, Date/Time, Currency, and Boolean. The operators are available in the Get Records, Update Records, and Delete Records elements.
- Test One, Two, Three, Flow (Generally Available): Before you activate a record-triggered flow, you can now test it to quickly verify its expected results and identify flow run-time failures. In Flow Builder, you create, save, and run flow tests. Previously, you debugged a flow manually to troubleshoot failures each time they occurred. Now, you create and save a flow test from a debug run. Then each time you modify the flow, you can run the test. Flow tests don’t support flows that run when a record is deleted. This feature, now generally available, includes some changes since the last release. Flow tests now support scheduled paths. Previously, flow tests
- Filter Your Picklists By Record Type in Flow Screens: Now you only see relevant picklist values when using Dynamic Forms for Flow. Previously, all the picklist values for a field appeared, regardless of whether a record type was provided, and could show irrelevant values.
- Select Multiple Records from a Table in a Flow Screen : Leverage the new Data Table (beta) flow screen component to display a list of records on a flow screen. You can set the table to read-only, or enable your users to select one or more records and use their selections later in the flow. And users can change the width of table columns and wrap or truncate overflowing text.




Add the Data Table (beta) component to your screen flow and configure the fields.
