forked from rDrama/rDrama
1
0
Fork 0

settings: potentially fix autofocus on iOS

i think autocomplete might be causing this for some reason???
master
justcool393 2022-11-30 09:23:31 -06:00
parent 836d3bfd98
commit fe9252d42f
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
<div class="d-flex"> <div class="d-flex">
<form action="{{form_action}}" id="{{id}}-color-code-form" method="post"> <form action="{{form_action}}" id="{{id}}-color-code-form" method="post">
<input type="hidden" name="formkey" value="{{v|formkey}}"> <input type="hidden" name="formkey" value="{{v|formkey}}">
<input class="form-control" type="text" name="{{form_name}}" id="{{id}}-color-code" minlength="6" maxlength="6" value="{% if current_color %}{{current_color}}{% endif %}"> <input autocomplete="off" class="form-control" type="text" name="{{form_name}}" id="{{id}}-color-code" minlength="6" maxlength="6" value="{% if current_color %}{{current_color}}{% endif %}">
<label class="btn btn-secondary text-capitalize mr-2 mt-2 mb-0">Update<input type="text" for="{{id}}-color-code" onclick="form.submit()" hidden=""></label> <label class="btn btn-secondary text-capitalize mr-2 mt-2 mb-0">Update<input type="text" for="{{id}}-color-code" onclick="form.submit()" hidden=""></label>
</form> </form>
</div> </div>