File tree Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ function CalendarEdit({
2525 locale,
2626 inputEnabled,
2727 withDateFormatInLabel,
28+ placeholder,
2829} : {
2930 mode : ModeType
3031 label ?: string
@@ -37,6 +38,7 @@ function CalendarEdit({
3738 locale : string
3839 inputEnabled ?: boolean
3940 withDateFormatInLabel ?: boolean
41+ placeholder ?: string
4042} ) {
4143 const dateInput = useRef < TextInputNative | null > ( null )
4244 const startInput = useRef < TextInputNative | null > ( null )
@@ -96,6 +98,7 @@ function CalendarEdit({
9698 autoComplete = { 'off' }
9799 inputEnabled = { inputEnabled }
98100 withDateFormatInLabel = { withDateFormatInLabel }
101+ placeholder = { placeholder }
99102 />
100103 ) : null }
101104 { mode === 'range' ? (
@@ -114,6 +117,7 @@ function CalendarEdit({
114117 autoComplete = { 'off' }
115118 inputEnabled = { inputEnabled }
116119 withDateFormatInLabel = { withDateFormatInLabel }
120+ placeholder = { placeholder }
117121 />
118122 < View style = { styles . separator } />
119123 < DatePickerInputWithoutModal
@@ -129,6 +133,7 @@ function CalendarEdit({
129133 autoComplete = "off"
130134 inputEnabled = { inputEnabled }
131135 withDateFormatInLabel = { withDateFormatInLabel }
136+ placeholder = { placeholder }
132137 />
133138 </ View >
134139 ) : null }
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ function DatePickerInput(
8888 label = { rest . label as any }
8989 startWeekOnMonday = { startWeekOnMonday }
9090 withDateFormatInLabel = { rest . withDateFormatInLabel }
91+ placeholder = { rest . placeholder }
9192 />
9293 ) : null
9394 }
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ export function DatePickerModal(
102102 disableStatusBar = { disableStatusBar }
103103 statusBarOnTopOfBackdrop = { isPageSheet || statusBarOnTopOfBackdrop }
104104 withDateFormatInLabel = { props . withDateFormatInLabel }
105+ placeholder = { props . placeholder }
105106 />
106107 </ View >
107108 </ View >
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ export function DatePickerModalContent(
213213 locale = { locale }
214214 inputEnabled = { props . inputEnabled }
215215 withDateFormatInLabel = { props . withDateFormatInLabel }
216+ placeholder = { props . placeholder }
216217 />
217218 }
218219 />
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export interface HeaderPickProps {
1313 label ?: string
1414 emptyLabel ?: string
1515 withDateFormatInLabel ?: boolean
16+ placeholder ?: string
1617 saveLabel ?: string
1718 uppercase ?: boolean
1819 headerSeparator ?: string
You can’t perform that action at this time.
0 commit comments