Extends the built-in input prompt type to allow a max input length to be specified, and shows a character counter which updates as the user types.