Pārlūkot izejas kodu

Button on return $this

WxAmd 4 gadi atpakaļ
vecāks
revīzija
a03a799ac3
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
     }
 }