Hi @VauBee , thanks for the suggestion. I read the answer, but have some clarifications for @AmDev , which I will post it here as well, if you could answer too. Thank you.
Referencing to @AmDev's solution , for the following code to be input to Date Picker, I am unable to locate all the fields.
- Onselect: Set(varDate, Self.SelectedDate)
- DefaultDate: If(Weekday(varDate) =1 || Weekday(varDate) =7, Blank(), varDate)
- InputTextPlaceholder: If(IsBlank(Self.SelectedDate), Text("DD/MM/YYYY"))
Below are my findings on the fields that matches, or potentially represents, for both Classic and Modern Datepicker controls.
1) OnSelect -> Classic (OnSelect) / Modern (SelectedDate?)
2) DefaultDate -> Classic (InitialPickerDate? Value? Today?) / Modern (SelectedDate?)
3) InputTextPlaceholder -> Modern (Placeholder?)
Classic DP Control fields
- OnChange
- OnSelect
- AcceptsFocus
- AccessibleLabel
- AllowTextInput
- ContentLanguage
- FillColor
- FirstWeekOfYear
- Font
- FontSize
- FontWeight
- IconFill
- IconSize
- InitialPickerDate
- MaxDate
- MinDate
- PaddingBottom
- PaddingEnd
- PaddingStart
- PaddingTop
- ShowGoToToday
- ShowWeekNumbers
- TextColor
- Today
- Tooltip
- Value
- DisplayMode
- Height
- Visible
- Width
- X
- Y
Modern DP Control fields
- OnChange
- AccessibleLabel
- BasePaletteColor
- ContentLanguage
- EndYear
- Font
- FontColor
- FontItalic
- FontSize
- FontStrikethrough
- FontUnderline
- FontWeight
- Format
- IsEditable
- PlaceHolder
- SelectedDate
- StartOfWeek
- StartYear
- ValidationState
- DisplayMode
- Height
- Visible
- Width
- X
- Y