guillaumepotier / Parsley.js

Validate your forms, frontend, without writing a single line of javascript
http://parsleyjs.org
MIT License
9.05k stars 1.32k forks source link

Bootstrap Date Picker Span Icon issue #1366

Closed balamurugan1991 closed 1 year ago

balamurugan1991 commented 1 year ago

Here is the Coding :-

<label for="forState">Date<span class="font-weight-bold text-danger"><span class="font-weight-bold text-danger">*</span></span></label>
    <div class="form-floating col-sm-auto">
        <div class="input-group" id="datepicker6">
            <input type="text"  class="form-control" placeholder="yyyy-mm-dd"    data-date-format="yyyy-mm-dd" data-date- 
            container='#datepicker6'   data-provide="datepicker" data-date-autoclose="true" name="date"   value="" 
           autocomplete="off" required>
            <span class="input-group-text"><i class="mdi mdi-calendar"></i></span>
        </div>
    </div>

error1

Above is the issue. I cant able to rectify this issue. and one more thing i cant able to reset the UI also use this below code.

$('#form').parsley().reset();

Please check this issue and close this issue ASAP.