Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Preston Barnes
1
Views
1
Comments
Solved
[Silk UI Web] On Change Glitch On Input (iPad)
Question
Forge
Silk UI Web (O11)
Forge asset by
OutSystems
Hi,
I'm experiencing a glitch using the OnChange on an input. Using the SilkUI framework, whenever i run the onchange (ajax refreshing a table) it works, but deselects the input box on iPad. However on Chrome or IE it works as expected.
Site Link: https://cloudintegrator.outsystemscloud.com/automatedterritoryas/Territories.aspx
On change is implemented on firstname. As you type it checks to see if that person exist and if so displays their name in the box. To test use my name: Preston
Thanks!
Preston
Samuel Jesus
Staff
Solution
Hello Preston,
First off all, sorry for the late reply.
I was not able to test your application, because I do not have a login. However, with your descriptions I managed to replicate the behaviour.
This is not an issue. As you can see in the links below, the behaviour also happens in London. Whenever you refresh a widget with Ajax, you are rebuilding that widget, and that is why you actually lose focus.
Also, from what I can understand of your descriptions, you are trying to implement something like an AutoComplete. There is actually a Pattern in RichWidgets that does exactly that behaviour.
Examples:
To use the examples, try to type Preston letter by letter. On change, I´m checking ifthe text is like "Pre" and when it is I'm replacing it with Preston. Also, on each OnChange, I´m updating the expression with the current DateTime.
Example App Built with Silk UI Framework and Dublin
Example App Built with London Theme
Best Regards,
Samuel Jesus
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...