ANGULAR 15 SIMPLE MULTIPLE CHECKBOXLIST

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 25

  • @suvendubiswal6820
    @suvendubiswal6820 2 ปีที่แล้ว +1

    This is the video I was looking for

  • @sagarvyas5527
    @sagarvyas5527 ปีที่แล้ว

    Tq for ur video

  • @chrismwenda7964
    @chrismwenda7964 4 ปีที่แล้ว +6

    Thanks a lot this was exactly what I was looking for!Cheers..

  • @lancinaouattara4039
    @lancinaouattara4039 3 ปีที่แล้ว +1

    God bless you

  • @hutube...1031
    @hutube...1031 3 ปีที่แล้ว +1

    Please add select all and remove all also...else is superb

  • @dur-e-najaf6760
    @dur-e-najaf6760 3 ปีที่แล้ว +2

    Thank you, it worked for me, this was really helpful.

  • @vijayakumarkrishnan9269
    @vijayakumarkrishnan9269 4 ปีที่แล้ว +1

    this helped me to solve one of my problem...thanks a lot Techie Ocean :)

  • @Aarvil_
    @Aarvil_ 3 ปีที่แล้ว +1

    tnx brother,i got what i want

  • @meetdarji5237
    @meetdarji5237 4 ปีที่แล้ว +1

    Thanks, Very useful to new learner.

  • @sagarvyas5527
    @sagarvyas5527 ปีที่แล้ว

    Tq bro drop down m check box ka login nhi samjh rha tha

  • @abhisheksrivastava845
    @abhisheksrivastava845 3 ปีที่แล้ว +1

    Thanks a lot Bro

  • @santhiyags6071
    @santhiyags6071 4 ปีที่แล้ว +2

    Thank u so much, sir. It helped me lot

  • @nguyentranduc8529
    @nguyentranduc8529 2 ปีที่แล้ว +1

    Thanks bro

  • @issst100
    @issst100 3 ปีที่แล้ว +1

    It working thanks a lot

  • @piyushsawalkar2210
    @piyushsawalkar2210 3 ปีที่แล้ว +1

    Thank you buddy👍

  • @chinmayingle423
    @chinmayingle423 4 ปีที่แล้ว +2

    Thanks man this helped 🙌

  • @Kavin1406
    @Kavin1406 4 ปีที่แล้ว +1

    Thanks a lot!

  • @gvpratap827
    @gvpratap827 3 ปีที่แล้ว +1

    Thanks

  • @softanshu7
    @softanshu7 3 ปีที่แล้ว

    I am saving the checked data in array .. to database. How can we set the checkbox checked property , and show all the checekd item in edit mode of page.

    • @mukul13197
      @mukul13197 3 ปีที่แล้ว

      Create a new function MultiLoad to load your checked arrays and remove unchecked arrays
      MultiLoad():Observable{
      let params1 = new HttpParams();
      this.myClonedArray.forEach(id => {
      params1 = params1.append('categoryId', id);
      }); console.log(params1.toString())
      return this.httpclient.get("localhost:3000/Products/", { params: params1 });
      }
      myClonedArray is the array which has checked values
      this.myClonedArray = Object.assign([], this.selectedItems);
      console.log('cloned', this.myClonedArray)
      selecteditems has the values checked like in this video . instead of using selecteditems directly, i am cloning it into new array - myClonedArray
      now simple
      this.MultiLoad().subscribe((res) => {
      this.selectedProduct = res;
      console.log('selected', this.selectedProduct)
      })
      in template do : *ngFor="Product of selectedProduct"
      the items having CategoryId that you have marked checked will be iterated back .
      busted my brains for this, thought to help

  • @shankara88
    @shankara88 4 ปีที่แล้ว +1

    thanks man

  • @paulovinicius9940
    @paulovinicius9940 4 ปีที่แล้ว

    You have a funny voice, like!

  • @sureshbobby2298
    @sureshbobby2298 4 ปีที่แล้ว

    how do we validate?

  • @gsaravanakumar932
    @gsaravanakumar932 4 ปีที่แล้ว

    Guys, anyone can help me to clear my confusion,
    1. I don't want to get roles each and every time from DB to check each and every routes of each user. How do I handle this.
    2. Do I need to send roles in each req from client... If so how to send securely. If not how to handle/check roles of user from node express js. I am using angular as front end.
    3. User role based need to show or hide a table. So after login server should send user roles, where do I store locally (currently using local storage), or the concept of saving user roles in client itself is wrong.
    I am doing a new application, needs to be handle above all, please help any one tip would be great