Hi all,
how to trap a button click when used in Form without action defined.
in this case first one with dataField : ‘searchButton’
<div>
<div>{</div>
<div> controlType : ‘group’,</div>
<div> columns : 4,</div>
<div> controls :</div>
<div> [</div>
<div> {</div>
<div> controlType : ‘button’,</div>
<div> dataField : ‘searchButton’,</div>
<div> label : ‘<i class=”bi bi-search”></i> Ok’,</div>
<div> cssClass : ‘primary’,</div>
<div> },</div>
<div> {</div>
<div> controlType : ‘button’,</div>
<div> action : ‘reset’,</div>
<div> label : ‘<i class=”bi bi-eraser”></i> RAZ’,</div>
<div> },</div>
<div> {</div>
<div> controlType : ‘button’,</div>
<div> label : ‘<i class=”bi bi-pencil”></i> Save’,</div>
<div> },</div>
<div> {</div>
<div> controlType : ‘button’,</div>
<div> label : ‘<i class=”bi bi-list-task”></i> List’,</div>
<div> }</div>
<div> ]</div>
</div>