SyntaxFix
Write A Post
Hire A Developer
Questions
If you know in advance the number of numbers to be entered (e.g. a 4-digit PIN) you could auto-dismiss after 4 key presses, as per my answer to this similar question:
dismissing Number Pad
No need for an additional done button in this case.