Topic: Problems with showcounter, large distance between field and counter

gerdhuber pro asked 1 year ago


Expected behavior the same distance when "is-vaild" is missing

Actual behavior when adding "is-valid" to the class="form-control is-valid" the distance to the counter gets bigger.

Resources (screenshots, code snippets etc.) enter image description here

Example label
                      <div class="valid-feedback">

                        </div> 
                    </div>
                  </div>
                </div>   
            </div>  

Grzegorz Bujański staff answered 1 year ago


Distance is added to make space for valid feedback. You can add the class mb-0 if you don't want a margin to be added.

I prepared a snippet in which you will find a solution to the problem: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/4167984#html-tab-view


gerdhuber pro commented 1 year ago

that's it, thank you



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: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 4.3.0
  • Device: pc
  • Browser: all
  • OS: windows
  • Provided sample code: No
  • Provided link: No