This is sample app including "custom calendar" component.
The component has input and output properties - DefaultDate and SelectedDate-, so you can set default selected date from screen component.DefaultDate and obtain selected date from component.SelectedDate.
In addition, the component has Year-Month picker to easily switch arbitrary Year-Month.
*Some brief instruction is in sample app.
*First click "Play" to turn on calendar.
demo of this app is shown on my tweet
Enjoy Components
Nice work! The default Calendar being unable to be branded was one of the pain points when we first started showing PowerApps to our executives and directors - you can use this component to then have an alternate Calendar with specific colouring to match your business needs/brands.
@iAm_ManCat |
My blog |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
Very nice. Thanks for building this. I have made some amendments for UK/US versions of it which includes the month selection as text, and also includes the ability for the user to select whether to also allow a selection of time as well as the date. Oh I also added in the ability to pre select against the component a foreground an background color.
Ive shared it here.
Hello! I am using your custom calendar component, It's awesome btw. Is there a way to make weekends not clickable?
thanks!
Hi @Filistyn
You can set DisplayMode of Label control inside Component as following :
If(Weekday(DateAdd(_firstDayInView,ThisItem.Value,Days)) in [1,7],DisplayMode.Disabled,DisplayMode.Edit)
Hey! Nothing happened 😞