0
The following is the date time Picker is appearing behind the modal and I’m not able to put ahead has to do this?
Code that I tried:
.form_datetime {
position: relative;
z-index: 9999;
}
and
$('input').datepicker({
beforeShow:function(input){
$(input).dialog("widget").css({
"position": "relative",
"z-index": 20
});
}
});
Input code:
<div class="form-group">
<label for="dtp_input1" class="col-md-2 control-label">Inicio</label>
<div class="input-group date form_datetime col-md-12" data-date="1979-09-16T05:25:07Z" data-date-format="yyyy MM dd - HH:ii p" data-link-field="dtp_input1">
<input class="form-control" type="text" name="inserir_fim" id="inserir_fim" value="" required readonly>
<span class="input-group-addon"><span class="fa fa-close"></span></span>
<span class="input-group-addon"><span class="fa fa-calendar"></span></span>
</div>
<input type="hidden" id="dtp_input1" value="" /><br/>
</div>
Date time Picker I’m wearing: Link to datetime Picker What’s going on:
It has to put the minimum example, which would be a part of it to analyze ...
– novic
Have I changed that’s it? @Virgilionovic
– Shider
What is the version of boostrap?
– novic
I’m using the 4
– Shider
In his
JS
you’re passing thez-index
with 20, in theCSS
you can use the!important
just to be sure– Dobrychtop
This is equal to the number it does not overlap in the same
– Shider