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

Add helpful entry widgets that set up validation and appropriate keyboard types #17

Closed
Jacalz opened this issue Oct 23, 2020 · 7 comments · Fixed by #20
Closed

Add helpful entry widgets that set up validation and appropriate keyboard types #17

Jacalz opened this issue Oct 23, 2020 · 7 comments · Fixed by #20
Assignees

Comments

@Jacalz
Copy link
Member

Jacalz commented Oct 23, 2020

Moving this on from fyne-io/fyne#916. We should be supporting the restriction of input types in things such as entry on mobile where you might want to only allow number inputs for examples.

@andydotxyz
Copy link
Member

Just to re-add some of the context from where this ticket came from we wonder if this is possible to deduce based on the validator in use rather than through manually setting by the developer

@AlbinoGeek
Copy link
Contributor

Honestly though, overriding mobile.Keyboardable or w/e wasn't too bad (for Spinner) -- I didn't mind that.

@andydotxyz
Copy link
Member

Hmm, not sure what more we should do here.
Extend validator to provide keyboardable (optionally) or add pre-configured entries (perhaps to fyne-x)?
Thoughts @Jacalz ?

@Jacalz
Copy link
Member Author

Jacalz commented Sep 16, 2021

Hmm, I think it would be strange to wrangle the validators in a way to restrict the keyboard input. I'd go with https://developer.fyne.io/tutorial/numerical-entry and then possibly have entries in fyne-x whith has that restriction set.

@andydotxyz
Copy link
Member

Agreed, so I guess this ticket is completed then?

@Jacalz
Copy link
Member Author

Jacalz commented Sep 22, 2021

More or less, yeah. Might be a good idea to close when we have the extended widgets in fyne-x? Or open an issue there maybe?

@andydotxyz andydotxyz transferred this issue from fyne-io/fyne Sep 22, 2021
@andydotxyz
Copy link
Member

Transferred the whole ticket to fyne-x repository :)

@andydotxyz andydotxyz changed the title Restrict input types on fields and switch soft-keyboard where appropriate Add helpful entry widgets that set up validation and appropriate keyboard types Sep 22, 2021
@Jacalz Jacalz self-assigned this Oct 13, 2021
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

Successfully merging a pull request may close this issue.

3 participants