Skip to content

Callista 2.3.22 release

Compare
Choose a tag to compare
@jcheron jcheron released this 04 Apr 23:56
· 70 commits to master since this release

Added

  • addGroupBy("fieldName") method for DataTable
  • wrapWith method for all HtmlElements
$form->wrapWith(new HtmlSegment('idSeg'));
  • postFormAction method For the automation of form submission via ajax:
$jquery->postFormAction('form[data-target','',['listenerOn'=>'body']);

A form:

<form class="ui form" action='/submit' method="post" id="frm" data-target="#response">
    <div class="ui input">
        <input name="firstname" id="firstname" type="text" placeholder="Enter your firstname">
    </div>
    <input class="ui button" type="submit" value="Validate">
</form>
<div id="response">Response</div>
{{ script_foot | raw }}