mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
OHOS: Set the correct input type for url field (#40862)
This makes it mostly that the correct keyboard will be selected and we don't start with an uppercase letter. Testing: Compiled on OHOS and looked on the phone. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,7 @@ struct Index {
|
||||
this.xComponentContext?.goForward()
|
||||
})
|
||||
TextInput({ placeholder: 'URL', text: $$this.urlToLoad })
|
||||
.type(InputType.Normal)
|
||||
.type(InputType.URL)
|
||||
.width('76%')
|
||||
.onChange((value) => {
|
||||
this.urlToLoad = value
|
||||
|
||||
Reference in New Issue
Block a user