Topic: textarea mdbinputdirective

marc parthoens free asked 5 years ago


Hi, In my app, in code below, for text, the placeholder, when get the focus, goes up and is blue for textarea, the placeholder, when get the focus, goes up BUT is not blue. Can you help (it works well in ng-admin-pro-7.3.0)

                <div class="row">
                  <div class="col-md-12">
                    <div class="md-form mb-0">
                      <input
                        type="text"
                        id="subject"
                        name="subject"
                        class="form-control"
                        mdbInputDirective
                      />
                      <label for="subject" class="">Subject</label>
                    </div>
                  </div>
                </div>

                <!--Grid row-->
                <div class="row">
                  <!--Grid column-->
                  <div class="col-md-12">
                    <div class="md-form">
                      <textarea
                        type="text"
                        id="form7"
                        name="message"
                        class="md-textarea form-control"
                        mdbInputDirective
                      ></textarea>
                      <label for="message">Your message</label>
                    </div>
                  </div>
                </div>

Damian Gemza staff answered 5 years ago


Dear Marc,

Could you please specify, on which project the textarea label is not blue when textarea has focus?

I have tried to reproduce it with your code but without success. For me, the labels on input and textarea are blue when the input / textarea has focus.

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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: browser
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No