A potential alternative is to set the following HTML attributes on the <input> field:
autocorrect="off"
autocapitalize="off"
URL inputs are otherwise also supported via <input type="url">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...