Hi Vincent,
Could you share some more information about this?
Is there another component inside the popup or what are those options the user is selecting?
Thanks for the reply. In my popup there will be a calendar for the user to select a date. I don’t want them to be able to click “Save” until they’ve selected at least one date.
Add your disabled styling to the button, for example:
.save-btn {
opacity: .3;
pointer-events: none;
}
And inside the calendar’s onSet event you can remove the disabled class from the button:
onSet: function (event, inst) {
$('.save-btn').removeClass('save-btn');
}
Also just an observation: if you only have the calendar inside your popup, you can achieve that with a simple calendar with bubble styling, without the popup.