Sfoglia il codice sorgente

Merge pull request #1200 from wxfjamdc/2.0

Button on return $this
Jiang Qinghua 4 anni fa
parent
commit
e1cb3c9b0e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
     }
 }