Skip to content

Commit

Permalink
Override default CSS for checkboxes and radio buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Jul 14, 2021
1 parent eac1ac3 commit 1d7e708
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions includes/system/versioned/1.0.8.1/tickable.php
Expand Up @@ -34,4 +34,14 @@ public function tick_if_requested() {
return $this;
}

public function __toString() {
// default if not already set
$this->parameters += [
'type' => 'checkbox',
'class' => '',
];

return parent::__toString();
}

}

0 comments on commit 1d7e708

Please sign in to comment.