contributte / live-form-validation

:no_entry: Nice client-side live form validation for Nette Forms.
https://contributte.org/packages/contributte/live-form-validation.html
BSD 3-Clause "New" or "Revised" License
59 stars 24 forks source link

Bootstrap input groups bug #14

Closed misaon closed 8 years ago

misaon commented 8 years ago

If you use classic input group in Bootstrap, error message () not show correctly.

Robyer commented 8 years ago

Could you show me some live example? (URL or just simple HTML page + JS that I can just open)

misaon commented 8 years ago
<div class="col-xs-12 col-sm-8 form-group">
    <label n:name="name">{_lang.text.name}</label>
    <div class="input-group">
        <span class="input-group-addon">
            <i class="fa fa-book"></i>
        </span>
        <input n:name="name" class="form-control">
    </div>
</div>

snimek obrazovky porizeny 2016-04-11 10-30-17

Robyer commented 8 years ago

With default settings it put the error message after <div class="input-group">...</div> which is correct. You have problems with your (Bootstrap's) CSS styles.

So what is your expected result? Where do you want to have that error message element?