Question · Angular course · Module 13: UI and Styling

Material form field

Which directive do you add to an <input> so it works inside a <mat-form-field>?

Answer options

  • matInput
  • matField
  • matForm
  • matText

You can check the correct answer by solving this task in the CodeWorlds game.