Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

Validation & added space below the fileds


Hi,

I am using FormValidation and i noticed that under the fileds being validated, the plugin add more space than the padding and margin defined in the css.

Is there a way to remove this additional space?

Here is an image. The red line circles where the plugin adds more space, while the green line where the space is correct.

<img src="https://i.ibb.co/LCK1rhf/Screenshot-2023-03-15-101235.png" alt="Screenshot-2023-03-15-101235" border="0">

Thank you

Paolo


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (9)


For reliable and non-intrusive protection, opt for
Unarmed Security Services in Fort Worth, TX. These services offer trained guards who focus on surveillance, access control, and maintaining safety, ensuring your property and personnel are secure without the need for weapons.



For personalized and reliable security, choose a
Private Security Company in Grapevine, TX. They offer tailored security solutions, from risk assessments to on-site guards, to meet your unique safety needs and provide peace of mind.



Trust our professional renovation services in Georgia to elevate your home's style and functionality.



Get top-tier renovation and remodeling services in Georgia to refresh and upgrade your space.



Trust our Professional Moving Labors Near Imperial Beach for expert help with your move, ensuring a smooth and hassle-free experience.



Save time and money with our Affordable Moving Labor Services in Imperial Beach CA, offering cost-effective moving assistance for your relocation.



Hi,

Could you please provide which Metronic version(v8 or older) and build method(gulp, webpack) are you using?

It seems the FormValidation plugin adds <div class="fv-plugins-message-container invalid-feedback"></div> container for the validation message display but does not remove it when the messages are hidden.

We will check it further and try to find a workaround. Hopefully, the official plugin docs have some pointers for this case.

Regards.



Thank you Sean for your reply.
I am using Metronic 8 demo 1. I am using directly the html version provided. I am not very expert and when i tried to install node js, gulp, etc. followiong the instructions something was not working, so i modified the html.

Btw thanks to your comment i found the solution adding the css code

.fv-plugins-message-container.invalid-feedback {
margin-top: 0px;
margin-bottom: 0px;
}


It works fine now happy

Regards



Hi happy,

Glad to hear that. We will provide an official fix in a future update.
Please keep your customizations logged somewhere so you can add them back when new updates arrive.

Please let us know if you need further help with the gulp setup please let us know.

Please note that the build tools are required only in the development environment just to compile the assets when the source folder files are modified. In the hosting/server deployment, you will only need the compile assets, no need to install the build tools dependencies there.

Regards


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(