* [refac] set class of the inputGroupAddon widget.

This commit is contained in:
liugang
2024-09-26 08:41:51 +08:00
parent 0c07109b1a
commit ee888eb3db
+2 -1
View File
@@ -22,6 +22,7 @@ class inputGroupAddon extends wg
{
protected function build()
{
return h::span(setClass('input-group-addon'), set($this->props), $this->children());
$class = $this->prop('class');
return h::span(setClass("input-group-addon {$class}"), set($this->props), $this->children());
}
}