Comments on: Angular Material Form Validation, Input, Datepicker and Modal https://code-maze.com/angular-material-form-validation/ Learn. Code. Succeed. Sun, 20 Nov 2022 18:41:13 +0000 hourly 1 https://wordpress.org/?v=6.7.5 By: Boldo https://code-maze.com/angular-material-form-validation/#comment-6934 Sun, 20 Nov 2022 18:41:13 +0000 https://code-maze.com/?p=4941#comment-6934 Hi,

How can I horizontally align center the new owner create form?

]]>
By: MarinkoSpasojevic https://code-maze.com/angular-material-form-validation/#comment-4144 Tue, 10 Aug 2021 06:24:58 +0000 https://code-maze.com/?p=4941#comment-4144 In reply to Ram M..

Thank you for reading the article and for your comment. I am glad it helped you.

]]>
By: Ram M. https://code-maze.com/angular-material-form-validation/#comment-4143 Mon, 09 Aug 2021 18:35:44 +0000 https://code-maze.com/?p=4941#comment-4143 Thank you very much for the information you have provided. It helped me a lot to build my Angular material form. I could not find so much detail anywhere else.

]]>
By: Marinko https://code-maze.com/angular-material-form-validation/#comment-3801 Wed, 23 Jun 2021 06:49:29 +0000 https://code-maze.com/?p=4941#comment-3801 In reply to mc alex.

Hello mc alex. Thanks for these suggestions. Well, with every new Angular version they add or remove something. Regarding skipping test files, first it was –spec=false, then, with later versions, Angular complainted and asked for –skipTests. Now, this is wrong as well, do you get my point πŸ™‚ πŸ™‚

Regarding that align=”center” as you can see it really works in my project, so it must be something new as well with a newer Angular version.

Finally, i fixed that extra “>” sign. Yeah, I am testing how many people are coping our code and never come back to our site because the code doesn’t work πŸ˜€ πŸ˜€

]]>
By: mc alex https://code-maze.com/angular-material-form-validation/#comment-3800 Wed, 23 Jun 2021 04:47:30 +0000 https://code-maze.com/?p=4941#comment-3800 Hi Marinko,
I found a couple issues with this tutorial – probably because of using a later version of Angular. 1) not a big problem, but the angular/cli prefers –skip-tests to –skipTests. 2) I found the align="center" attribute for the directive isn’t valid (immediately after the bit: ‘Finally, let’s modify the mat-card-actions element:’). Doco says it can only be ‘start’ or ‘end’. Also, I think you have an extraneous closing angle in the second button (Cancel) in that same section. There shouldn’t be a ‘>’ immediately after type="button" – or maybe that’s a test for people who copy/paste the tutorial ;-).

As always, thanks for your excellent work.

]]>
By: Marinko https://code-maze.com/angular-material-form-validation/#comment-1355 Tue, 30 Jul 2019 11:38:11 +0000 https://code-maze.com/?p=4941#comment-1355 In reply to Kyle D.

The backend code is our ASP.NET Core project. You can just download it from our repo https://github.com/CodeMazeBlog/.NET-Core-Series. Use the part6 because this is the last part from .NET Core, other ones are for Angular.

]]>
By: Kyle D https://code-maze.com/angular-material-form-validation/#comment-1352 Tue, 30 Jul 2019 11:17:40 +0000 https://code-maze.com/?p=4941#comment-1352 In reply to Kyle D.

I use postman to check the url. Can you show me back-end code for this series, please?

]]>
By: Kyle D https://code-maze.com/angular-material-form-validation/#comment-1351 Tue, 30 Jul 2019 11:07:51 +0000 https://code-maze.com/?p=4941#comment-1351 Create the owner-create component , add to routing to owner-routing.module.ts, add html then : localhost:5000/api…/create is return 400 after all. Any idea?

]]>
By: Chris L. https://code-maze.com/angular-material-form-validation/#comment-1077 Mon, 13 May 2019 13:19:20 +0000 https://code-maze.com/?p=4941#comment-1077 Very helpful, thank you. I noticed a couple small things. The text says “The mat-cart-content and mat-cart-actions ..” but “cart” probably should be “card”. And “owner-create.compnent.html” is missing an “o”. Finally a question, the address form field has no “id” attribute, is that required?
Thanks for listening.

]]>
By: Marinko https://code-maze.com/angular-material-form-validation/#comment-1078 Mon, 13 May 2019 11:00:46 +0000 https://code-maze.com/?p=4941#comment-1078 In reply to Chris L..

Hello Chris. Thank you very much for reading this article and making those suggestions. I fixed both typos. About the Id, it is not required, but if you use the id attribute in one of controls you should be using it in all of them, just for consistency sake, I just forgot to add it. Thank you one more time. Best Regards.

]]>