Forms in Angular - Learning Angular (Part 7)

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 28

  • @Angular
    @Angular  Рік тому +2

    Watch more episodes of Learning Angular→ goo.gle/Learning-Angular

  • @diprefranco
    @diprefranco 9 місяців тому +8

    5:38 best part

  • @sneharakshe3401
    @sneharakshe3401 Місяць тому

    Really interesting and easy to understand playlist, feel like angular is easy than react 💯👏

  • @Centrifuze
    @Centrifuze 4 місяці тому +3

    Dunno if this is a version issue or not, but at 5:29, I needed to add in between the button and .

    • @layer8problem
      @layer8problem 13 днів тому

      i think they just forgot it. it is definitely needed

  • @mirandelass
    @mirandelass Місяць тому

    love u Mark my brother

  • @jediampm
    @jediampm Рік тому +4

    Hi,
    again inline template too big, it should be in separate file.
    Or at least the form should be in a new component and you could take advantage to teach how emit events.
    Like in Angular docs, here in this video, for a form so simple and without validation make no sense use / teach reactive form for beginners.
    A template driven form or even without it would be enough. This way some junior dev or other devs that use other frameworks think that Angular learning curve is big. Because in tutorial for beginners you are teach advance things like reactive forms. This is valid form this tutorial and for Angular docs.
    So please start and keep it simple.
    Thanks you.😥

  • @Himanshubishnoi-td3nh
    @Himanshubishnoi-td3nh 8 місяців тому +1

    Angular make Java Brains angular Playlist as your default video documentation.

  • @MarfTaylor
    @MarfTaylor Рік тому

    hello there, what happens if I have the form component separated from the app component, do I need to pass the classes again to the imports array ?

  • @teemusekki1743
    @teemusekki1743 7 місяців тому

    I don't have any clue about Angular debuging since I'm just starter. But it seems that after clicking Learn more I have some kind a parsing error but in vscode doesn't show any errors and yesterday it worked before adding form. So I asume that have some mistakes in my form but it seems similar that this example.

  • @kushansumanaweera7086
    @kushansumanaweera7086 Рік тому +2

    time stamp 05.31, you forgot to close form tag

  • @askovicthe
    @askovicthe Місяць тому

    I love you

  • @gillesashley9314
    @gillesashley9314 11 місяців тому +7

    As a React developer, I wanted to learn Angular, but this series just killed my morale, Angular is overwhelming. It has so many part you need to understand.

    • @michamiek4455
      @michamiek4455 10 місяців тому +1

      Its similar to react hook form control method

    • @foxdie8106
      @foxdie8106 9 місяців тому +3

      I agree, but angular's form are powerful, you can do a lot of things. It kills react forms.

    • @ShawnTalbert-k2u
      @ShawnTalbert-k2u 9 місяців тому +1

      look at the Angular 'template driven forms' approach. They are simple yet powerful. I don't know why they keep pushing the imperative 'reactive' forms approach like this is 1994 Windows development.

    • @Feronom
      @Feronom 2 місяці тому

      you are gonna be overwhelmed with react when you need to learn new library for each feature angular has builtin

  • @pogchamper228
    @pogchamper228 11 місяців тому +2

    5:31 close the "form" tag.

  • @teemusekki1743
    @teemusekki1743 7 місяців тому

    I add some console.log in getHousingLocationById and seems that function got right parameter. ERROR Error: Uncaught (in promise): InvalidCharacterError: String contains an invalid character...first line of console error

  • @albrough
    @albrough Рік тому

    @4:52, should it not be

    • @Angular
      @Angular  Рік тому

      Yes, that's correct! That's a typo that we've corrected in the code. Good catch.

  • @HatchettTheGreat
    @HatchettTheGreat 2 місяці тому

    Sheesh how do you code with that ide theme lol

    • @marktechson
      @marktechson 2 місяці тому +1

      It's a high-contrast theme designed for accessibility (a11y) which is ideal for users with low vision, light sensitivity, or diminished contrast vision :)

  • @ShawnTalbert-k2u
    @ShawnTalbert-k2u 9 місяців тому +1

    This should have been about template driven forms. So called 'reactive' forms are a step backwards for webdev IMHO and more complicated.

  • @djrandomoficial4901
    @djrandomoficial4901 9 місяців тому +1

    Kd os BR

  • @teemusekki1743
    @teemusekki1743 7 місяців тому

    After adding form I got error this again Learn more. Some kind parse error

  • @NaomiNos
    @NaomiNos 6 місяців тому

    I'm getting Can't bind to 'submit' since it isn't a known property of 'form'.ngtsc(-998002) and it doesn't let me to use [submit] in brackets. Removing [] doesn't do anything.

    • @ihitchman83
      @ihitchman83 11 днів тому

      This guide is a little outdated, instead of [submit]= use (ngSumbit)= instead