Skip to content

the issue while the closing the input area when the input field was being in error or invalid state #765

@satyanarayanaAmzur

Description

@satyanarayanaAmzur

Hi Vitaliy Potapov,

i did verified and implemented the solution for the issue
the issue while the closing the input area when the input field was being in error or invalid state
it was allowing the hide without error validation showing in view,so i did verified the issue and fixed it but unable to create pull request to the current branch please do it from your side as per the below logic block,if you updated it it will clears my blocked issue from weeks

 **$cancel: function () {
      var onHideConditionString='';
      if (!this.$visible) {
        return;
      }
      // self cancel
      this.$oncancel();
      // children's cancel
      angular.forEach(this.$editables, function (editable) {
        onHideConditionString=editable.elem.context.childNodes[1].innerHTML; //editable.elem.context.childNodes[1].innerText;
        editable.cancel();
      });
      // self hide
          //To restricting the hide functionality when the form was updated with validation error or invalid 
          if(onHideConditionString.length!=0){
            this.$hide();
          }
    },**

or please do required changes in it Potapov

thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions