Calendar Validation in Form,


i have tried to add required validation to a calendar form input field the issue that validation is not triggered for it while it is triggered for the reset of the form

var calendarDefault = app.calendar.create({
inputEl: ‘#demo-calendar-default’,

I had the same problem…

The only way around it is to manually check the fields… for example

$$(document).on('click', 'submit', function (e) {
  if (!$$('input')[0].value) {
    console.log('show error message!');
  } else {
    console.log('ajax request!');