Topic: Input Group with label

osoverflow pro asked 6 years ago


I'm trying to create a input group with append button and with a label that moves up when the field has data or is focused, but has not luck    
<div class="md-form input-group">

<i class="fa fa-envelope prefix gray-text"></i>

<input type="text" class="form-control" id="field">

<div class="input-group-btn">

<button class="btn btn-success btn-lg">OK</button>

</div>

<label for="field">The label</label>

</div>

Damian Gemza staff commented 6 years ago

Dear osoverflow, You're missing mdbInputDirective on your input element. Here's documentation for mdbInputDirective: https://mdbootstrap.com/mdbinputdirective/ 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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags