not able to stop onchange event propataion of an file control on a column

not able to stop onchange event propataion of an file control on a column

dbiswadbiswa Posts: 2Questions: 1Answers: 0
edited May 2019 in Free community support
 $('#tblSelectObjTemplate .uploadFile').change(function (event) {
              event.stopImmediatePropagation();
              $scope.validateExcelTemplate(event);
          });

if there duplicate file uploaded , I am clearing file path in from the textbox one of the file control whereas . the change event keep on executing till all the file control clear from all the row.

Kindly help on this issue.

Thanks ,
dbiswa

Answers

  • dbiswadbiswa Posts: 2Questions: 1Answers: 0
    edited May 2019
    $('#tblSelectObjTemplate .uploadFile').change(function (event) {
    event.stopImmediatePropagation();
    $scope.validateExcelTemplate(event);
    });
    
  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @dbiswa ,

    Is this using Editor? We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.