Complete Angular Material Tutorial - CRUD Form Design

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

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

  • @CodAffection
    @CodAffection  6 ปีที่แล้ว +1

    goo.gl/bPcyXW : Buy me a Coffee.
    goo.gl/3VQn29 : Next Part
    bit.ly/2KQN9xF : More Angular Tutorials
    bit.ly/3Ktqess : MEAN Stack CRUD
    bit.ly/47yygKq : (Angular & .Net Core API) Tutorials

  • @MrGarg10may
    @MrGarg10may 5 ปีที่แล้ว +7

    13:40 Actual Form designing

  • @facusana
    @facusana 5 ปีที่แล้ว +1

    Amazing and very usefull!!!
    just two comments:
    1.- I would recommend you to create an array for all the material (in the matearial module) and pass that array once to import and export. In that case you don't need to duplicate the modules imported.
    2.- For the required fields, instead of adding * to the placeholder you can add required to the field which I think is much better. e.g.

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว +1

      thanks for the comment. it'll help me and the viewers in upcoming projects.

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

    Only best and quality material provided.

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

    Very well explained! Thanks

  • @MuhammadRizwan-jj3yc
    @MuhammadRizwan-jj3yc 2 ปีที่แล้ว

    just love it Man

  • @777eldhose
    @777eldhose 3 ปีที่แล้ว

    Very clear and uderstandable. Thanks for the material.

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

    Thank you so much bro😍 very usefull

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

    great one thanks..

  • @RajuSharma-po2rt
    @RajuSharma-po2rt 5 ปีที่แล้ว +1

    excellent video..

  • @TheShy007
    @TheShy007 5 ปีที่แล้ว +1

    Thankyou very much,Great Job mate,i implemented this in my project and its working smoothly.

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

    Excellent, as a noob I learned a lot of things from this video as compared to other videos. Thank You and please continue this work with Get, Post, Put and Delete API

  • @miklosnemeth8566
    @miklosnemeth8566 3 ปีที่แล้ว +2

    16:05 A private member cannot be accessed from the template when strict mode (Angular 12) is enabled, it should be declared public.

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

      Does this tutorial work fine with angular 12 ???

    • @joaoortega1868
      @joaoortega1868 2 ปีที่แล้ว

      I used protected and it worked.

    • @miklosnemeth8566
      @miklosnemeth8566 2 ปีที่แล้ว

      @@joaoortega1868 yes that is a major flaw in Javascript. TypeScript when compiled enforces encapsulation but the Javascript result is not. that is why it is not a proper language, honestly.

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

    Thank you so much, very clear tutorial. Appreciate your efforts.

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

    This is a really great instructional video, it really is. It got me off to a flying start. Thank you for your work.

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

    simple but powerful!

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

    Thank you so much for this awesome tutorial on Form designing using Angular and Firebase. This tutorial has been of immense help to me in achieving my goal. Tutorial was very informative and systematically explained in step by step way. Keep up with this effort of teaching and spreading coding knowledge to everyone!!!!

  • @rajendrasyam6971
    @rajendrasyam6971 6 ปีที่แล้ว

    Excellent as always

  • @hanniebeulah7142
    @hanniebeulah7142 5 ปีที่แล้ว +1

    Amazing!! Thank you..

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

    your videos are so helpful sir ,can you do video on Curd operations using local storage in angular

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

    Thanks.. very useful

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

    How the deleted data disappeared from mat table? Using Snapshot changes?

  • @Durgapraveen-le5de
    @Durgapraveen-le5de 3 ปีที่แล้ว

    Property 'MatToolbarModule' does not exist on type 'typeof import...How to solve this error in material-module.ts

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

    Great tutorial! This example is a good way to start learning angular. I have encountered only two issues:
    1. When clearing the form, I got an error in the console because the initialize method from the service was not recognized. Removed the providedIn: 'root' from the @Injectable and it worked;
    2. import * as Material from "@angular/material" does not work anymore (angular 9). I had to import each module separately;

    • @sumankumar-cu8hd
      @sumankumar-cu8hd 4 ปีที่แล้ว

      for me it is not working Property 'initializeFormGroup' does not exist
      on type 'FormGroup'. what to do help !

  • @behroozbk
    @behroozbk 6 ปีที่แล้ว

    Great Tutorial, Thanks :)

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

    Please tell me how to solve mat toolbar is not known elements

  • @wilderolivera7969
    @wilderolivera7969 5 ปีที่แล้ว

    You are amazing buddy, continue with your videos always!

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

    How can we achieve this? if the form has been filled by database, I would like to show all the error messages on the form. I dont want to go each one of them and leave the control to show error. Can we achieve this?

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

    Nice Tutorial. Keep it up. !!!!!

  • @ArronSealmoyGuitar
    @ArronSealmoyGuitar 6 ปีที่แล้ว

    This channel is amazing thankss sir

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      thanks for the kind words.

  • @Namansvlog
    @Namansvlog 5 ปีที่แล้ว

    In your case if u have not entered any data in ur form then also ur submit button is enable. How to disable if user has not entered any data in form?

  • @rajeevbhosle1580
    @rajeevbhosle1580 5 ปีที่แล้ว +1

    thank you...

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

    hi sir, i m using angular 10 so my content in toolbar is aligned to left only I made every possible change.

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

    is it applicable for beginners?

  • @anamariaelizabethchambac5112
    @anamariaelizabethchambac5112 5 ปีที่แล้ว +1

    With PostgreSQL... how can I do with this but with a form? Angular 7

  • @atishmhatre4895
    @atishmhatre4895 6 ปีที่แล้ว

    Nice Tutorial

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

    Hi, On clicking the clear button, the data is getting erased but the error seems to get highlighted for the required fields. How can we remove them after we clear the form. Can you please help.

  • @hanniebeulah7142
    @hanniebeulah7142 5 ปีที่แล้ว

    Hi, how we can do validations for a number field, like that it should contain only whole numbers..if we enter some decimal, or negative integers, it should be validated,..i want this... Kindly help me in this

  • @raminformatique6422
    @raminformatique6422 6 ปีที่แล้ว

    Nice video Tutorial for Material form design

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Thanks for the comment, Hope you will enjoy remaining videos in the series.

  • @fernandopassaia
    @fernandopassaia 5 ปีที่แล้ว

    Man - your tutorial are fucking Amazing! Congrats!

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      thanks for your wonderful feedback.

  • @rajeshchincholkar1982
    @rajeshchincholkar1982 5 ปีที่แล้ว

    Nice Video Tutorial 👍Can You do One vdo on Inline Editing And Nested datatable

  • @PLeroux99
    @PLeroux99 5 ปีที่แล้ว

    Do you have a tutoriel for user authentication

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      Yes we do. please try this th-cam.com/video/s2zJ_g-iQvg/w-d-xo.html.

  • @veerendrabanka9907
    @veerendrabanka9907 6 ปีที่แล้ว

    Nice explanation

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      thanks for the feedback.

  • @fmorriso
    @fmorriso 5 ปีที่แล้ว

    Somewhere between this video and the next one in the sequence, the code for populating the Departments changes from a hard-coded list to one that comes from the Firebase database that is created during that next video. However, I'm over half way through the next video and do not see any discussion of how the "departments" table is populated so that it can supplant the previously hard-coded list of departments. How can I populate that Firebase database table so that the code for the next video works properly?

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      department table is render from firebase collection departments, which is discussed in second video here : th-cam.com/video/hfhlzY3U27M/w-d-xo.html. The firebase collection documents are inserted manually.(Other ways the video will be long one - If you watch this whole series. you create separate form for adding departments ). And then this shows how you can display department records from the firebase collection.

  • @alparb
    @alparb 5 ปีที่แล้ว

    Hello there. Thanks a bunch for the clean Tutorial. I have been using your directions on my personal project. It was god sent. However, I have a serious headache. I put your tutorial directions (heavily modified). However, when using the ROUTERS in angular for some reason view and viewchildren does not wait for any response and especially "MatSort" is not working along with the
    codes... Any chance you can direct me for what to do about it?
    Is it really related to router guards or something else? Can you check it?

    • @alparb
      @alparb 5 ปีที่แล้ว

      Also there is a possiblity this problem may be also because of the @ViewChild changes in angular version 8?

  • @faiziappunison8336
    @faiziappunison8336 5 ปีที่แล้ว

    Thanks

  • @doudodidi3422
    @doudodidi3422 5 ปีที่แล้ว

    with which programming language you build the back end!

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      angualr with firebase database. db operations can be done using their api.

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

    We can enter letters in mobile no validation for that

  • @DIBOS_BV
    @DIBOS_BV 6 ปีที่แล้ว

    Really good explained. Nice job. Only with me the validation is not working. The error-message doesn't appear

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      thanks for the comment.please download my demo project and check the same.

  • @harsonsuwal2960
    @harsonsuwal2960 6 ปีที่แล้ว +1

    ERROR in node_modules/angularfire2/database/interfaces.d.ts(2,26): error TS2307: Cannot find module 'firebase'.
    node_modules/angularfire2/firebase.app.module.d.ts(2,79): error TS2307: Cannot find module 'firebase'.

    • @harsonsuwal2960
      @harsonsuwal2960 6 ปีที่แล้ว

      i am using node v 10.14.1
      plz give me the suggesation

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      it is due to latest update in angularfire 2
      npm installation command :
      npm i --s firebase @angular/fire
      try these import statement:
      import { AngularFireModule } from '@angular/fire;
      import { AngularFireDatabaseModule } from '@angular/fire/database

  • @naveents5976
    @naveents5976 5 ปีที่แล้ว

    Hi can you make any video related to host angular crud app in Netlify

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      not yet.

    • @naveents5976
      @naveents5976 5 ปีที่แล้ว

      @@CodAffection can u make video in future?

  • @ammarmahmoud4422
    @ammarmahmoud4422 6 ปีที่แล้ว

    Thank you so much bro

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

    I got this msg
    Cannot read properties of undefined (reading errors)
    What i do sir?

  • @skalippanbalippan6972
    @skalippanbalippan6972 6 ปีที่แล้ว

    coudn't make the grid responsive, how to do it?

  • @hourthy3658
    @hourthy3658 5 ปีที่แล้ว

    How to open new tab in Angular?

  • @meysamhadeli
    @meysamhadeli 6 ปีที่แล้ว

    thanks for video...
    i use 'mat-selection-list' for filtering my list. But When I checked the my list, after submitting to the server, only the filtered list is displayed and there are no checked filters! And the items that are not checked out after the filter is lost !!! Please cover this topic ...

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว +1

      how about this : stackoverflow.com/a/46749555/4133590

    • @meysamhadeli
      @meysamhadeli 6 ปีที่แล้ว

      CodAffection tanks. Very helpful... 🙏

  • @iscrisful1
    @iscrisful1 5 ปีที่แล้ว

    Great tutorial, i have an question; where from come the content of application_structure.txt file? or How i can generate his content?

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      it is something manually typed.

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

    Why are you importing whole material library instead of single modules from library that you are using?

  • @Galaxy-ld9mf
    @Galaxy-ld9mf 3 ปีที่แล้ว

    Hi, I cloned the project from GitHub. It shows the following error " Cannot find module '@angular-devkit/build-angular/package.json'". Please help !

    • @dr.x38
      @dr.x38 3 ปีที่แล้ว

      Don't just paste project from Download folder. You have to create a new project just by yourself like ng new, and when you create a new project (since angular provides all necessary constructive files), then paste those files form github in that new project you'll be able to use them. You're welcome dude

  • @govt.jobaspirant3536
    @govt.jobaspirant3536 5 ปีที่แล้ว

    Hi... I followed all the above steps. But it is throwing an error saying 'Cannot find module '@angular/material' for the line import * as Material from "@angular/material"; . How to resolve it??

    • @emperorpraveen
      @emperorpraveen 5 ปีที่แล้ว

      you need to add the package in app.modules file

  • @suryasurya-qt2hq
    @suryasurya-qt2hq 3 ปีที่แล้ว +1

    good only but show every changes happens when we create new components

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

    It's showing error in loading angular/material module in material module file.

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

    Can I work with same components and libraries with angular 9 CLI?
    Anyone who has insight about this, please share your expertise.
    Thank you

  • @gauravdighe4117
    @gauravdighe4117 6 ปีที่แล้ว

    Hello... Can we use it with angular 7?

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      I hope so, let me know if there is any problem.

    • @gauravdighe4117
      @gauravdighe4117 6 ปีที่แล้ว

      @@CodAffection hello I am getting error for Mat Grid as mat-grid-title is not a know element

  • @saheermalayil2031
    @saheermalayil2031 5 ปีที่แล้ว

    please add video number for each videio to get flow

  • @mohsinali-uf9dl
    @mohsinali-uf9dl 6 ปีที่แล้ว

    Great be like other videos.

  • @durgashete7537
    @durgashete7537 5 ปีที่แล้ว

    Good tutorial but mine validations are not working

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

    Hi ,very understandable thanks for that.But i got an error while binding the form with group..why am i getting this...i did the same what you were teaching,,,i got this error
    Can't bind to 'FormGroup' since it isn't a known property of 'form'.
    1

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

      Hey Saranya did you solve this issue. I am using Angular 10 and following this tutorial but I am stuck with that error. The only solution is to move the service class logic to the component which isn't recommended.

  • @Link2618
    @Link2618 6 ปีที่แล้ว

    I have a problem with [formGroup] = "service.form" tells me "identifier 'service' refers to a private member of the component" I do not understand, I have everything the same

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      did you inject service class as per the video ?

    • @Link2618
      @Link2618 6 ปีที่แล้ว

      Yes, as I said in the video

    • @Link2618
      @Link2618 6 ปีที่แล้ว

      also download the code and I get the same

    • @Link2618
      @Link2618 6 ปีที่แล้ว

      Rare, I get the error in visual studio code but everything works.

    • @timmckiernan4827
      @timmckiernan4827 6 ปีที่แล้ว +2

      @@Link2618 I had the same error. Switching the service from private to public fixes it. I also use VS code and after some stack Overflow rabbit holes its aparently better practice when dealing with views to list services as public

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

    I got this error: Property 'service' is private and only accessible within class 'EmployeeComponent'. I need to change to public.
    Im using Angular CLI: 9.1.7, Node 12.17.0. Please give me any suggestion

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

      did u get any solution for this?

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

      @@anju199602 yes. U should check out this post stackoverflow.com/questions/39131675/is-it-good-practice-to-reference-services-in-html-templates-in-angular-2

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

      why should u put formgroup in service when u can place it in component ts file? what's advantages someone?

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

    Do you have any github link?

  • @FieelFlying
    @FieelFlying 6 ปีที่แล้ว

    Nice and everything but i was looking for a real CRUD tutorial, this video merely showed how to post.. How am i supposed to fill a form before an update?

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      all of them cover in upcoming tutorial.
      check the second part : th-cam.com/video/hfhlzY3U27M/w-d-xo.html

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

    MaterialModule has been removed, so following this tutorial will cause many errors. Please update this tutorial.

  • @AmitPandey-ko7lj
    @AmitPandey-ko7lj 6 ปีที่แล้ว

    When next video will release

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      next video in the series just uploaded now : th-cam.com/video/hfhlzY3U27M/w-d-xo.html

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

    validation is not working.

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

    I am facing so many error
    Still not solved

  • @GameCrawl
    @GameCrawl 5 ปีที่แล้ว +4

    You are too fast, especially when you are switching between files, slow down my friend

  • @theyounggamer7242
    @theyounggamer7242 5 ปีที่แล้ว +1

    Watch this in 1.5x

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

    you sound like Max Verstappen

  • @deepakdagar_change_is_in
    @deepakdagar_change_is_in 6 ปีที่แล้ว

    i think no need to provide Employee Service class in app.module provider in angular 5

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      required for the features implemented in videos after this video.

  • @HariPrasad-wf5vn
    @HariPrasad-wf5vn 5 ปีที่แล้ว

    Too fast. Looks like 38 mins lecture, it took more than 2 hours and still in 30th min following with implementation with unclear styling

  • @grupobms5147
    @grupobms5147 6 ปีที่แล้ว

    ¿and the table?

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

    Malayali

  • @danyalahmed7787
    @danyalahmed7787 5 ปีที่แล้ว

    May you please slow down!

  • @soumyabratachatterjee2210
    @soumyabratachatterjee2210 2 ปีที่แล้ว

    By watching this i can say that angular is a mess 🙂

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

    Too fast and cant pick up as I am a beginner 😑

  • @areebamirza9212
    @areebamirza9212 6 ปีที่แล้ว

    Excellent as always

  • @loverphp5605
    @loverphp5605 6 ปีที่แล้ว

    Excellent as always