I don’t want to post when I submit , I want to use my custom function inside my component when I used:
<div>
<div><smart-form-control</div>
<div> align=”right”</div>
<div> control-type=”submit”</div>
<div> label=”Submit”</div>
<div> class=”primary”</div>
<div> ></smart-form-control></div>
</div>
There is a possibility to do something like that:
<div>
<div><smart-form-control</div>
<div> align=”right”</div>
<div> control-type=”submit”</div>
<div> label=”Submit”</div>
<div>
<div>
<div> (click)=”submit()”</div>
</div>
</div>
<div> class=”primary”</div>
<div> ></smart-form-control></div>
</div>