Questions tagged [disable]
The disable tag has no usage guidance.
23
questions
0
votes
1
answer
48
views
Use querySelectorAll on inactive Lightning Tabs
In my LWC form I have multiple lightning-tabs containing several lightning-input-fields.
When the form is Approved I would like to allow Users to view, but lock all fields from edit.
Unfortunately ...
0
votes
1
answer
141
views
How to disable command button before the action?
Please help! I need that the button "Save" to be inactive before the user changes the Status in position. I tried to do this with disabled="{! If (Status==null, true, false)}". ...
-2
votes
1
answer
139
views
Unable toRequired and disabled field
I have a problem with my code , the required and disabled are not working for me .
I want that the " More informations" dependent on the status .
If the status is "Pending" or &...
0
votes
1
answer
853
views
how to disable Lightning button after file upload in LWC
I have a lwc page where users can upload files in an object.
I have a requirement the import button need to be enabled only if the file is not uploaded yet , but if it is uploaded succesfully i should ...
0
votes
1
answer
182
views
Quote Status to not update (be disabled) after is Accepted or Denied
Once the Quote status changes to accepted or denied I want to make sure that it won't be allowed to change again. Can it be done with flow? Any suggestions how can I make that happen?
0
votes
1
answer
2k
views
Can we change background color of a disabled button in lightning web components
Example:
I understand we can achieve by using slds button base component but any other way directly to achieve through lwc.
<lightning-button label="Neutral" title="My Title" ...
0
votes
1
answer
614
views
How to use Disabled attribute in helper class of Lightning component
In the Component,I have used disabled option
<aura:attribute name="isDisabled" type="Boolean" default="true"/>
<aura:attribute name="overprice" type=&...
0
votes
0
answers
32
views
How to disable Settings link?
I am looking for disable the "Settings" option displayed in salesforce when clicking in the user circle for specific profiles.
Thank you all!
0
votes
1
answer
687
views
Button "Disable Customer Account" on Account does not fire trigger on User record
I try to set up a trigger that modifies the email adress on the User object once I hit the button "Disable Customer Account" on Account. I have seen the discussions where you should use "...
0
votes
3
answers
781
views
Disable a toggle if is checked
Is it possible to disable a toogle if is checked ?
<lightning:input type="toggle" name="togglevalue" checked="false" messageToggleActive="ok" messageToggleInactive="not ok" disabled="{!if ...
0
votes
1
answer
2k
views
Can't disable "Edit Read Only Fields" permission for system administrator
If I go to:
service setup - profiles - system administrator - system permissions
Here there's a long list of permissions.
I'd like to disable the "Edit Read Only Fields" permission but there's not ...
0
votes
1
answer
1k
views
Why does Visualforce inputField using html-disabled = false still disable the field?
In my VF page I need to disable an inputField based on a boolean condition set in my controller. If I add the html-disabled option to the inputField it disables the field, regardless of what I set the ...
0
votes
0
answers
47
views
Disable TLS requirement for Salesforce Out Bound Messages
Is there a way in Salesforce to disable this required authentication for outbound messages? We are getting Error of Server chose TLSv1.
Now the server we have is Running Frame Work of 4.7 which ...
0
votes
2
answers
2k
views
Show message and grey out button in lightning component
I have a component and I want to show a message and grey out the button if some fields are not filled, how to do this?
Component:
<aura:component controller="purchaseOrderComponentController"
...
1
vote
1
answer
244
views
JQuery and Disabled Attributes
I am unable to get this bit of JS to work. I have a few questions:
Am I not allowed to put the disabled attribute on the apex:inputField?
Am I importing the JS url incorrectly?
Is it possible that ...
0
votes
2
answers
2k
views
How to disable inline edit in list view?
Please refer to the following screen capture:
I would like to disable editing in list view for all users. However, I can't seem to find a resource for Salesforce Lightning. Can anyone instruct me on ...
0
votes
2
answers
1k
views
Enable Picklist Field Based on Checkbox Value In Visualforce Page
I have a requirement wherein if checkbox is true, picklist field must be enabled. If checkbox is false, picklist field must be disabled. But in default, picklist field must be disabled.
Enabling/...
1
vote
0
answers
76
views
SCIM De-Activate User: Invalid date for Terminate_Date__c
I'm trying to deactivate a user by calling the below salesforce API
PUT /services/scim/v1/Users/{uid}
{
"userName":"abc@example.com",
"externalId":"abc@example.com",
"title":"RSM",
"active":...
0
votes
2
answers
2k
views
Disable SteelBrick/CPQ Trigger from running in current trigger context
I have a method that runs an update on the SBQQ Quote. If I run it on a list of Quotes the CPQ code hits a soql 101 limit exception and I have no way of fixing it. My solution would be to temporaraly ...
1
vote
2
answers
424
views
disable apex:commandButton is not working
Apex class:
public Integer sCount {get;set;}
Attachments = [SELECT Id,Name FROM Attachment WHERE Parentid =:caseId ];
Integer sCount = Attachments.size();
Vf page:
<apex:commandButton ...
0
votes
3
answers
2k
views
Can I disable the Chatter mention?
I would ask if I can disable the Chatter mention in a standard way or I must use a custom solution as a Trigger.
0
votes
1
answer
62
views
Radio buttom disable one filed out of three inputfields [closed]
i need some option like: three input fields linked with three radio buttons, initially all the fields should active, if i click first radio button it should disable 2nd & 3rd inputfiled, please ...
1
vote
3
answers
30k
views
How do I make apex:inputField disabled Or readOnly
I have a parent account field with a magnifying glass on the right side of it. I need to users to only click on the magnifier glass and search for the parent and not type in the field . Most of the ...