Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

UITextInput clearing label for int input #235

Open
tomsf opened this issue Mar 24, 2015 · 0 comments
Open

UITextInput clearing label for int input #235

tomsf opened this issue Mar 24, 2015 · 0 comments

Comments

@tomsf
Copy link

tomsf commented Mar 24, 2015

I am sure there is a simple answer/setting I am missing. When a UITextInput is set up and has a _textstring identified, when you first click in the text input box and type an int it will append the _textstring label and return the whole appended string. (i.e. "Enter Int: 54") The second time you click the box it will properly erase the label and return just what you type (i.e. "54") How do I get int only result the first time it is entered? You can reproduce the behavior on the AllWidgets example, first text box in panel_2.

Tried all the toggles I could identify in ofxUITextInput and can't pin down how to get the behavior I am looking for. Thanks.

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

No branches or pull requests

1 participant