zoukankan      html  css  js  c++  java
  • ABP select2 在模态框中搜索框无法输入

    问题描述

    select2插件在模态框中无法输入

    解决方案

    修改ModalManager.js,代码如下:

    function _createContainer(modalId) {
                _removeContainer(modalId);
    
                var _containerId = modalId + 'Container';
                return $('<div id="' + _containerId + '"></div>')
                    .append(
                        '<div id="' + modalId + '" class="modal fade" tabindex="-1" role="modal" aria-hidden="true">' +
                        '  <div class="modal-dialog">' +
                        '    <div class="modal-content"></div>' +
                        '  </div>' +
                        '</div>'
                    ).appendTo('body');
            }
    

    将其中的tabindex="-1"删除即可。

  • 相关阅读:
    小数的进制转换
    水题 O
    水题 J
    水题T,二进制转16进制
    水题B
    水题C
    HDU 2042
    HDU 2041
    Index For SQL Server
    Learning Note For Angular
  • 原文地址:https://www.cnblogs.com/dotnetmonkey/p/8676938.html
Copyright © 2011-2022 走看看