All,
Is there a way to hide the time portion of the date time popover conditionally? Please let me know if someone has accomplished this
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Try with type property
type=date
Views
Replies
Total Likes
Managed to find solution, unsure if this is ok.. wanted a better way vs just button[is="coral-button"] on click
$('button[is="coral-button"]').on('click', function() {
//check for condition
$('.coral3-Datepicker-clockContainer')[0].hidden =true;
});
Views
Replies
Total Likes
Hi,
Try with type property
type=date
Views
Replies
Total Likes
Thanks @arunpatidar . Below also worked. It is just that it does a click on entire field vs just the icon for calendar.
If i may ask do you have any inputs on https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-update-a-datetime-... ?
$('coral-datepicker[type="datetime"]').on('click', function() {
});
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies