Topic: mdbInputDirective doesn' work with angular

xavandar free asked 6 years ago


I use webstorm with angular and
div class="md-form form-sm">
  <input mdbInputDirective type="text" id="color" class="form-control form-control-sm">
  <label for="color" class="">couleur</label>
</div>

but mdbInputDirective doesn't move the label

Damian Gemza staff commented 6 years ago

Dear xavandar, Which version of MDB Angular you're using actually? I've tested this on MDB Angular Free 6.0.1 and it works perfectly with your code. Please check your version, and if you're using something below 6.0.0, please upgrade to latest version. Here is more information about how to upgrade your project: https://mdbootstrap.com/getting-started/update-instructions/ Best Regards, Damian

xavandar free answered 6 years ago


I use npm and the version installed is 5.2.3 . how to update to 6 with npm ?

Damian Gemza staff commented 6 years ago

Dear xavandar, The steps are the same as in https://mdbootstrap.com/getting-started/update-instructions/. Type npm remove angular-bootstrap-md and type npm install angular-bootstrap-md --save , and that's all! Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags