Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the placeholder for datetimepicker from Tap here to select a date to Start Date for example #589

Open
AzzimFarid69 opened this issue Mar 11, 2020 · 0 comments

Comments

@AzzimFarid69
Copy link

Version

Tell us which versions you are using:

  • tcomb-form-native v0.6.20
  • react-native v0.61.5

Expected behaviour

I want the datetimepicker placeholder to change to Start Date

Actual behaviour

It still shows tap here to select a date

Steps to reproduce

startDate:{
stylesheet: datePickerStyle,
mode: "date",
config: {
format: startDate => moment(startDate).format("DD-MM-YYYY")
},
placeholder: "Start Date"
},

Stack trace and console log

Hint: it would help a lot if you enable the debugger ("Pause on exceptions" in the "Source" panel of Chrome dev tools) and spot the place where the error is thrown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant