Change return key (returnKeyType) on a contenteditable div in UIWebView

Originator:Hans.Pinckaers
Number:rdar://13836911 Date Originated:08-May-2013 01:18 PM
Status:Open Resolved:
Product:iPhone SDK Product Version:All versions
Classification:UI/Usability Reproducible:Always
 
Summary:
I would like to have a different returnKeyType on my keyboard when editing a contenteditable div in a UIWebView on iOS.

I tried putting the contenteditable div inside a form and assigning it a title/type "search" or "email", but this doesn't work. The return key on the keyboard still says "return".

Steps to Reproduce:

See example project. Tap on the contenteditable div inside the UIWebView. The return key will not be "search"

Expected Results:

Just like in an input-field the type property will specify the returnKeyType.

Actual Results:

Return key still says "return"

Regression:

Always occurs.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!