Skip to content

Commit

Permalink
feat: Insert from URL input presents URL-centric keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
dcalhoun committed Sep 5, 2023
1 parent 1605a26 commit db66c34
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ function URLInput( props ) {
<TextControl
// eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus
autoCapitalize="none"
autoCorrect={ false }
autoComplete={ Platform.isIOS ? 'url' : 'off' }
keyboardType="url"
label={ __( 'Insert from URL' ) }
onChange={ props.onChange }
placeholder={ __( 'Type a URL' ) }
Expand Down

0 comments on commit db66c34

Please sign in to comment.