Skip to content

Commit

Permalink
Add "type" to the search field on the editor (#40782)
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed May 5, 2022
1 parent f16e8ba commit 2c45822
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export default function SearchEdit( {

return (
<input
type="search"
className={ textFieldClasses }
style={ textFieldStyles }
aria-label={ __( 'Optional placeholder text' ) }
Expand Down

0 comments on commit 2c45822

Please sign in to comment.