Closed simonuwe closed 1 year ago
{% apply field(name="server", label=_("Server"), list="serverlist") %}{% end %}
<datalist id="serverlist">
{% for opt in sorted(servers().keys()) %}
<option value="{{opt}}"></option>
{% end %}
</datalist>
Hi,
I agree and I wanted to change the current dropdown list for quite some time, but never found the time to look into it. Using a datalist looks exactly like what I wanted, so thanks a lot! Do you want to send a PR or should I take care of it?
I created pull request #159
It looks good, so merged. Thanks a lot!
When many server are configured the dropdown list will be quite long and the default behaviour of
This could be modified by changing in login.html the
to