Use an attribute for disabling search input autocapitalization

Bug: T328390
Change-Id: Ic64fb9864870f62a85e98d0a024570e00240ef6d
This commit is contained in:
EpicPupper 2023-01-31 02:09:27 +00:00
parent 4ab2b26900
commit 7da801c69f

View file

@ -40,7 +40,7 @@ module.exports = function () {
router: overlayManager.router,
gatewayClass: SearchGateway,
api: new mw.Api(),
autocapitalize: $searchInput.prop( 'autocapitalize' ),
autocapitalize: $searchInput.attr( 'autocapitalize' ),
searchTerm: $searchInput.val(),
placeholderMsg: placeholder,
defaultSearchPage: defaultSearchPage