On lightning:recordEditForm, lightning:inputField with a checkbox field type doesn't work when clicking the box unless label is clicked, this is occuring when Winter 20 is released. This is working fine during Spring '19


            <lightning:messages />

            <lightning:inputField fieldName="Case_Plan__c"/> <!-- field is checkbox-->
            <div class="slds-m-top_medium">
                <lightning:button variant="brand" type="submit" name="save" label="Save" />
  • I cannot replicate the issue you are facing. Can you paste your code as well in your question? – sanket kumar Sep 11 '19 at 8:36
  • I have updated the description. its just pulling the field on the object with a checkbox data type. – Carlo Sab Sep 11 '19 at 9:29
  • @sanketkumar this is occuring when using console apps. – Carlo Sab Sep 11 '19 at 10:54

I too facing this issue. Hide the inputfield label and use your own label like below. I hope this will fix your issue.

<span class="slds-form-element__label">Case Plan</span>
<lightning:inputField fieldName="Case_Plan__c" variant="label-hidden"/>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.