We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tell us which versions you are using:
How can we add an event listener to see listen to events such as the appearance of a date picker?
In the below GIF, I want my keyboard to disappear whenever date time picker is visible.
I have keyboard listener function in my code but for this, I think I would need a function which listens when date time picker is shown
Here is how we are using tcomb-form-native
tcomb-form-native
const Form = t.form.Form const Gender = t.enums({ M: 'Male', F: 'Female' }) const options = { fields: { birthDate: { mode: 'date' // display the Date field as a DatePickerAndroid } } } const User = t.struct({ email: t.String, username: t.String, fullName: t.String, gender: Gender, birthDate: t.Date, terms: t.Boolean })
and then in my jsx
<Form type={User} options={options} onChange={this.onChange} />
Also, If I can listen to the events, I can remove Tell us about yourself from the UI whenever picker is visible.
Tell us about yourself
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
Tell us which versions you are using:
Question
How can we add an event listener to see listen to events such as the appearance of a date picker?
In the below GIF, I want my keyboard to disappear whenever date time picker is visible.
I have keyboard listener function in my code but for this, I think I would need a function which listens when date time picker is shown
Here is how we are using
tcomb-form-native
and then in my jsx
Also, If I can listen to the events, I can remove
Tell us about yourself
from the UI whenever picker is visible.The text was updated successfully, but these errors were encountered: