Subform Lookup field showError doesn't clear in Client Script

Subform Lookup field showError doesn't clear in Client Script


I have a lookup fields Deal, Account and Lead in Subform, I am checking if its null or not 

If its null It shows an error, but when I select some value for the Lookup Field it doesn't clear the error , for other fields such as single line or pickup etc. it clears the error 

Is it a client script bug or issue with my code I am not sure

My use case is the user has to enter data in atleast one field Deal, Account or Lead

var subform = ZDK.Page.getSubform('Meeting_Details');
var subform_length = subform.getValues().length;

for (var i = 0; i < subform_length; i++) {
    var row = subform.getRow(i); // Get row object

    var dealValue = row.getCell("Deal").getValue();
    var leadValue = row.getCell("Lead").getValue();
    var accountValue = row.getCell("Account").getValue();
    var activityDetail = row.getCell("ActivityDetail").getValue();


    log(dealValue);
    if (dealValue == null) {
        var dealCell = row.getCell("Deal");
        dealCell.showError("Empty Deal");
    }

    log(activityDetail);
    if (activityDetail == null) {
        var activityCell = row.getCell("ActivityDetail");
        activityCell.showError("Empty Activity");
    }
   
   
   }


InfoModeration Update:   I'm locking this post as this issue has been resolved and is live across all the DCs. If you need further clarification, feel free to start a new topic.

    Access your files securely from anywhere











                            Zoho Developer Community





                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts





                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner







                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources


                                                                                              Zoho Writer Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ




                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方