The Lightning Conductor can consume data connections from other web parts, environment variables such as query string parameters, current user, and page title. The connections can provide a value that can be consumed for filtering content aggregated into your view, applying conditional formatting, or selecting the entire view of content based ... Here's another useful function for enabling and disabling your form elements using javascript. HTML form elements have an attribute called disabled that can be set using javascript. inputs[i].disabled = bDisabled; } var selects = document.getElementsByTagName("select"); for (var i = 0; i...The disable binding works oppositely, causing the associated DOM element to be disabled when its value is true. These bindings are useful with form elements like input, select, and textarea.
Sep 09, 2020 · Salesforce Lightning Progress Bar With Conditional Theme Biswajeet July 18, 2019 No Comments on Salesforce Lightning Progress Bar With Conditional Theme Lightning Component: What the bit of code above does is that it: Opens up the FormBuilder class to add a method submit_with_override. Modifies options hash's :data element, setting a default value for key disable_with that will not apply if there's already a value there, thus allowing the default to be overridden by any individual button.