Hi Kartik,
I’m using your great DetailView extension and inside I use some of your widgets like Select2 and DateControl. Everything is working nicely, but unfortunately the Typeahead widget is causing me some trouble: the results are shown behind other columns in the DetailView. I already tried to raise the z-index of .tt-menu, but without any success..
My PHP code:
[
'rowOptions' => ['class' => 'kv-view-hidden warning', 'style' => 'border-bottom: 5px double #dedede'],
'columns' => [
[
'attribute' => 'stops',
'value' => $planning->stops,
'label' => 'Zoek stop',
'type' => DetailView::INPUT_TYPEAHEAD,
'widgetOptions' => [
'pluginOptions' => ['highlight' => true],
'dataset' => [
[
'datumTokenizer' => "Bloodhound.tokenizers.obj.whitespace('value')",
'display' => 'value',
'prefetch' => Url::to(['planning/stops']),
'remote' => [
'url' => Url::to(['planning/stops']) . '?q=%QUERY',
'wildcard' => '%QUERY'
]
]
]
],
],
],
]
Hope you can offer me some help.. Thanks in advance!
The post Typeahead results are not shown properly in DetailView inside modal. Bug? appeared first on Krajee Web Tips.