Browse Source

Button on return $this

WxAmd 4 years ago
parent
commit
a03a799ac3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Form/Field/Button.php

+ 1 - 0
src/Form/Field/Button.php

@@ -28,5 +28,6 @@ $('{$this->getElementClassSelector()}').on('$event', function() {
     $callback
 });
 JS;
+        return $this;
     }
 }