Topic: Input forms label effect is not working

E_y free asked 4 years ago


Hi, I used input form from here- https://mdbootstrap.com/angular/components/inputs/ in free version, but the label effect is not working (i mean when we click on input box then the label doesn't get up) Please let me know what i missed.  

Damian Gemza staff answered 4 years ago


Dear E_y,  could you provide me code which you've used in your case? And please, do not open twice same ticket. Best Regards, Damian

E_y free commented 4 years ago

using this code <pre>Start your code here <div class="md-form"> <input mdbActive type="text" id="form1" class="form-control"> <label for="form1" class="">Example label</label> </div> </pre>

Damian Gemza staff commented 4 years ago

I need to ask - are you using " " tags in your component.html file ? If yes, remove them. If not - which version of MDB Angular are you using? This problem was fixed in 5.2.0 + Best Regards, Damian

E_y free commented 4 years ago

Can you tell me how can i check my MDB version

Damian Gemza staff commented 4 years ago

If you're using MDB Angular downloaded from https://mdbootstrap.com/my-account, please head into src/app/typescripts/pro folder and look in package.json file version. If you're using MDB Angular installed from npm, head into node_modules/ng-mdb-pro/pro and again check package.json

E_y free commented 4 years ago

I am using free version of MDB and i checked in package.json having version angular-bootstrap-md@5.1.2. So if i want to upgrade how can i upgrade, i installed MDB through npm.

E_y free commented 4 years ago

I am using free version of MDB and i checked in package.json having version angular-bootstrap-md@5.1.2. So if i want to upgrade how can i upgrade, i installed MDB through npm.

Damian Gemza staff commented 4 years ago

Remove your node_modules directory and type npm install one more time. And it should be all. After installing check if you've got MDB 5.2.1 or MDB 5.2.2, and let me know. 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

Answered

Specification of the issue

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