cordova-plugin-dialogs icon indicating copy to clipboard operation
cordova-plugin-dialogs copied to clipboard

Focus text input in prompt dialog

Open srgpqt opened this issue 6 years ago • 1 comments

Platforms affected

Android 10

Motivation and Context

Some versions of Android 10 SDK do not automatically focus the EditText control, resulting in a blank, unbordered, input box which is essentially invisible.

Description

Added 1 line to focus the EditText input in the prompt method.

Testing

Tested the fix in the android 10 simulator.

Checklist

  • [ ] I've run the tests to see all new and existing tests pass
  • [ ] I added automated test coverage as appropriate for this change
  • [x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • [x] I've updated the documentation if necessary

srgpqt avatar Nov 06 '19 20:11 srgpqt

This was not working for me, but I added a couple of lines and now it seems to be working fine #139

Thul999 avatar Jun 29 '20 16:06 Thul999