Card Class And form-outline


Topic: Card Class And form-outline

theotherguy pro premium priority asked 4 years ago

this is for 1.1.0

Expected behavior*_When a card class is a parent container of a form input field that has form-outline there should not expand 1 rem when "is invalid" is added as a class to an input._*Actual behavior*_When a card class is a parent container the form-outline adds a 1rem bottom padding that inadvertently expands the input incorrectly when is-invalid is applied to the input._*Resources (screenshots, code snippets etc.)

have a form with the form-outline working on the input. wrap the form with a card class, apply is-invalid to the input.


Mikołaj Smoleński staff answered 4 years ago

Hi there,

I made a snippet for that case but can't recreate an issue. https://mdbootstrap.com/snippets/standard/mikolaj-smolenski/2480627

Best regards


theotherguy pro premium priority commented 4 years ago

I think you are right. I had the card class on the form element. I cant expect things to work right if I apply the card class directly to . Thanks for your time.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 1.0.0
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No