Skip to content

Commit a12178d

Browse files
add "icons-prefix" option and sets to "fa" (#14)
1 parent 7f1bcae commit a12178d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ Table Dataset are provided directly to the `bootstrap-table` as data-attributes
587587
| locale | string | "en-US" |
588588
| advanced-search | bool | true |
589589
| id-table | string | class name of table with counter. (`$this->getTableName()`) |
590+
| icons-prefix | string | "fa" |
590591
| click-to-select | bool | true |
591592
| show-jump-to | bool | true |
592593
| show-export | bool | true |

src/HelloBootstrapTable.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ protected function configureTableDataset(OptionsResolver $resolver)
256256
"locale" => "en-US",
257257
"advanced-search" => true,
258258
"id-table" => $this->getTableName(),
259+
"icons-prefix" => "fa",
259260

260261
//extensions
261262
"click-to-select" => true,
@@ -294,6 +295,7 @@ protected function configureTableDataset(OptionsResolver $resolver)
294295
$resolver->setAllowedTypes("sort-reset", ["bool"]);
295296
$resolver->setAllowedTypes("pagination-V-Align", ["string"]);
296297
$resolver->setAllowedTypes("undefined-text", ["string"]);
298+
$resolver->setAllowedTypes("icons-prefix", ["string"]);
297299
$resolver->setAllowedTypes("locale", ["string"]);
298300
$resolver->setAllowedTypes("advanced-search", ["bool"]);
299301
$resolver->setAllowedTypes("id-table", ["string"]);

0 commit comments

Comments
 (0)