elixir/templates
Théo Lebrun 11b6632d5d templates/topbar: add required attribute to search input
If we press enter without any search value, we get directed to
/$PROJECT/$VERSION/A/ident/ which is a "400 Bad Request".

As the search input is selected by default, this is any enter press
where the focus hasn't changed.

`required` documentation:
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/required

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
2025-11-05 09:45:42 +01:00
..
error.html web: Unify _link and _url variable suffixes 2025-02-14 12:50:29 +01:00
header.html web: refactor message banners & support mobile 2025-07-25 12:26:04 +02:00
ident.html web: Meta descriptions improvements 2024-11-05 12:20:02 +01:00
layout.html web: refactor message banners & support mobile 2025-07-25 12:26:04 +02:00
sidebar.html web: Add ability to hide sidebar on desktop layout 2024-09-11 11:13:13 +02:00
source.html web: Meta descriptions improvements 2024-11-05 12:20:02 +01:00
topbar.html templates/topbar: add required attribute to search input 2025-11-05 09:45:42 +01:00
tree.html web: Meta descriptions improvements 2024-11-05 12:20:02 +01:00