Add Autofocus option on TextBox for native development - Mendix Forum

Add Autofocus option on TextBox for native development

17

NOTE: Mendix modeler 8.18.1 (wasn’t in the dropdown below), native mobile development. 

 

It would be great if such a simple feature (it’s just a javascript boolean on the textinput, just like with e.g. autoCapitalize which currently is possible. 

Now, we need had to write a custom widget, and it would save a lot of time to use core mendix functionality for this!

So: Add “autoFocus” as an option or class to the current textBox widget. 

asked
2 answers

Is there any solution implemented? Can you please share some snippet for the same.

Created

Hi Cas,

Do I understand correctly that you build a custom widget to set focus to a textbox for a native app? If so can you share this custom widget with us? 

Hope to hear from you.

Kind regards,

Erwin Heijnen
Rond Consultancy

Created