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

TextProperty update when typing #89

Open
dipacs-ds opened this issue Feb 17, 2015 · 0 comments
Open

TextProperty update when typing #89

dipacs-ds opened this issue Feb 17, 2015 · 0 comments
Assignees

Comments

@dipacs-ds
Copy link
Contributor

There are some situations when I need the text in a text input while typing (on the fly search, etc...).
To prevent continuous property propagation with possible invalid values it can be a separated property with name like TextPreview or something else.

In the keyup event you can read the current (uncommitted) value of the textbox or textarea using the element.value field.

IMPORTANT: In the keyup event you don't get the last typed character, so you need to use a setTimeout(someFunction, 0);

petusa added a commit that referenced this issue Apr 14, 2015
FR impementation for issue #88 and #89

InputText: builder, renderer, model udpated with maxLength and immediate
properties

Textarea: builder, renderer, model udpated with maxLength and immediate
properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants