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

Keyboard opening although editable is false #43

Closed
knvpk opened this issue Jun 26, 2019 · 8 comments
Closed

Keyboard opening although editable is false #43

knvpk opened this issue Jun 26, 2019 · 8 comments

Comments

@knvpk
Copy link

knvpk commented Jun 26, 2019

Im using plugin version 0.2.0.

I have a field where date should only picked up by picker but not the manaual input so i kept editable to false, but still when i clicked the DateTimePickrField keyboard and picker both are opening. My expectation is to open only picker but not the keyboard.

Flutter version: 1.6.3
Android: oreo.

@knvpk
Copy link
Author

knvpk commented Jun 26, 2019

I just checked the example folder provided in plugin code, that also has same behavior.

@knvpk
Copy link
Author

knvpk commented Jul 2, 2019

ping @jifalops

@knvpk
Copy link
Author

knvpk commented Jul 8, 2019

or atleast the DateTimePickerFormField field should support the readOnly option, for the normal text input if readOnly is true then keyboard not open.

@tedchuang
Copy link

I think this is a recent Flutter upgrade that caused it. Keyboard did not show up as of June 16, 2019.

@tedchuang
Copy link

Pull request from @galstc05 works!

@knvpk
Copy link
Author

knvpk commented Jul 11, 2019

Yes, please merge it.

@NickoftheSouth
Copy link

Just to add to this: this is also and issue when editable is true, since the first time you tap on the field the keybaord pops up and also the picker appears in this squashed form

@jifalops
Copy link
Owner

This is fixed in v0.3.0, but editable is now determined by whether readOnly is set on its child.

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

4 participants