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
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;
}
Hi ,
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