ソースを参照

Button on return $this

WxAmd 4 年 前
コミット
a03a799ac3
1 ファイル変更1 行追加0 行削除
  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;
     }
 }