Search This Blog

Friday, September 9, 2022

to modify the existing array in Angular

    this.message.text.shipToParty.forEach((element, index, array) =>

            {
                    element['dealer'] =   element.dealer.replace(/\d/g, '').replace(/,/g, '');
                    element['subdealer'] = element.subdealer.replace(/\d/g, '').replace(/,/g, '');
            })

No comments:

Post a Comment

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...