Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

Commit 24003f1

Browse files
committed
add clearStyle() method
1 parent d2f863c commit 24003f1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/BsForm.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,18 @@ public function style($style = null)
160160
return $this;
161161
}
162162

163+
/**
164+
* Clear the components style.
165+
*
166+
* @return $this
167+
*/
168+
public function clearStyle()
169+
{
170+
$this->style();
171+
172+
return $this;
173+
}
174+
163175
/**
164176
* Set the input inline validation errors option.
165177
*

0 commit comments

Comments
 (0)