Closed domhel closed 3 years ago
Here is an example of Angular syntax:
<mdb-form-control>
<input mdbInput type="text" id="form1" class="form-control" />
<label mdbLabel class="form-label" for="form1">Example label</label>
</mdb-form-control>
The component will be initialized automatically when you use this code.
Thanks, it works.
I didn't know that I have to use tags like
I have the following html-code:
Without a label, there is a border but with label the border disappears. I have read that I need to insert this code:
But this is not the angular way of coding and mdb.Input doesn't even exist.
So how can I initialize a mdb Input with Angular?