I have a input where you can type in a URL. Now I also like to add a suggestion list to the input where you can select predefined URLs.
My attempt was to change from type=url to type=select and provide a datalist:
<input type=select list=servers required ng-model=server />
<datalist id=servers>
<option label="Server example 1" value="https://www.google.de/"/>
</datalist>
But now I am missing the URL validation from angular. Is there a way to combine those two types? Or any other suggestion how I can do that?
Thanks in advance
type="select"; select boxes are a completely different element type, they are not aninput.