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

[IMP] Use numeric keyboards for OInteger and OFloat types in a OField #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pathob
Copy link

@pathob pathob commented Jun 30, 2017

Recent state: The OInteger and OFloat types in a OField have been mapped to a
OEditTextField that always used a normal text keyboard. Thus, it was possible
to enter non-numeric characters that cannot be stored in the database, so that
is was necessary to do input checks etc.

Now, new FieldTypes 'Integer' and 'Float' are introduced. In a OField, the
keyboard for a OInteger type is restricted to only digits, and the keyboard for
a OFloat type is restricted to digits and a (single) dot for fractional digits.

Recent state: The OInteger and OFloat types in a OField have been mapped to a
OEditTextField that always used a normal text keyboard. Thus, it was possible
to enter non-numeric characters that cannot be stored in the database, so that
is was necessary to do input checks etc.

Now, new FieldTypes 'Integer' and 'Float' are introduced. In a OField, the
keyboard for a OInteger type is restricted to only digits, and the keyboard for
a OFloat type is restricted to digits and a (single) dot for fractional digits.
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 this pull request may close these issues.

1 participant