onAction on password field

Hello, I just tried to attach an onAction method to a password field (non editable). That doesn’t work. It does work on text fields…

Thanks
Patrick

onAction is normally fired when enter is pressed, in the past there was a request to fire action event when non editable and being clicked, whould the same be done on password field? and why?

It is exactly what I want: the field is non-editable and when someone clicks on it, a method is fired.

On a password field I find that very useful: You can see a regular field. When you click on it, a method is fired that asks you for a new password and confirmation for that. Only if new and confirmed password match, the field is actually changed. I think this is normal user interface experience that you can’t simply type something in a password field.

The only other solution to this is to place a button “change password” somewhere and that is space taking…

Thanks.
Patrick

svyMobile.zip (11.1 KB)

Jan Blok:
onAction is normally fired when enter is pressed, in the past there was a request to fire action event when non editable and being clicked, whould the same be done on password field? and why?

I use a list with usernames and paswords. Passwords cannot be editted in the list but in a dialog that pops up by clicking in the list.
Therefore I also would like onAction working on a password field.

Will work in Servoy 3.0 b3