File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/Views/Filters/Traits/Styling Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ trait HandlesFilterPillsAttributes
2020 */
2121 protected array $ pillResetButtonAttributes = [];
2222
23+ protected bool $ pillTitleAsHtml = false ;
24+
25+
2326 public function getPillAttributesBag (): ComponentAttributeBag
2427 {
2528 return new ComponentAttributeBag ($ this ->getPillAttributes ());
@@ -82,4 +85,17 @@ public function getFilterPillResetButtonAttributesMerged(array $resetFilterButto
8285 $ this ->getPillResetButtonAttributes ()
8386 );
8487 }
88+
89+ public function setFilterPillTitleAsHtml (bool $ pillTitleAsHtml ): self
90+ {
91+ $ this ->pillTitleAsHtml = $ pillTitleAsHtml ;
92+
93+ return $ this ;
94+ }
95+
96+ public function getFilterPillTitleAsHtml (): bool
97+ {
98+ return $ this ->pillTitleAsHtml ;
99+ }
100+
85101}
You can’t perform that action at this time.
0 commit comments