【问题标题】:bootstrapselect close button is large in size引导选择关闭按钮尺寸很大
【发布时间】:2018-07-18 16:24:47
【问题描述】:

我需要解决视图中的引导选择搜索和关闭按钮。我在下面的链接中上传了图片

bootstrap select dropdown image

javascript

$('#class_list_for_fee_report').multiselect({

        enableClickableOptGroups: true,
        enableCollapsibleOptGroups: true,
        includeSelectAllOption: true,
        enableCaseInsensitiveFiltering: true,
        maxHeight: 350,

    });

html

<select class ="col-lg-3 col-xs-3" multiple="multiple" id="class_list_for_fee_report" value="multiselect-all">
   <?php foreach ($batchList as $batch):?>
        <option value="<?php echo $batch->getId(); ?>" selected><?php echo $batch->getBatchName(); ?></option>
 <?php endforeach; ?>
  </select>

【问题讨论】:

    标签: javascript php jquery html bootstrap-select


    【解决方案1】:

    Bootstrap 包括类似的类

    <button class="btn btn-lg">Done</button> // large
    <button class="btn btn-sm">Done</button> // small
    <button class="btn btn-xs">Done</button> // extra-small
    

    这些类控制按钮的大小,希望它是您正在寻找的东西。

    【讨论】:

    • 请点击该图片bootstrap select dropdown image。所以你会得到
    【解决方案2】:

    在我使用库之前是

    通过替换这些库给了我解决方案

      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/css/bootstrap-multiselect.css">
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-04-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多