Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › General Discussions › Form with button without action › Reply To: Form with button without action
September 7, 2022 at 7:32 am
#103651
Participant
Hi,
You have two options:
The first one is to have a custom button with a template.
The second one is to have a regular controlType: ‘button’, but add a unique cssClass and after that get the element and add an eventListener.
Here is a demo in which the two options are shown: https://codepen.io/svetoslavb04/pen/PoePJdM
Hope this helps and if you need further help, do not hesitate to contact us!
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/