index.html: highlight invalid fields
This commit is contained in:
parent
04788db1dc
commit
a72668593b
|
@ -9,6 +9,9 @@
|
|||
<style>
|
||||
:root, html[data-theme='light'] {
|
||||
--width: 80rem;
|
||||
}
|
||||
:invalid:not(form) {
|
||||
border-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -221,7 +221,7 @@ function initForm() {
|
|||
|
||||
const l3cfg = new L3Config();
|
||||
l3cfg.addSection(new L3Section('gateway',
|
||||
new L3Input('Router Name','gatewayName', 'name', {type: 'search', required: '', placeholder: 'Router Name'}),
|
||||
new L3Input('Router Name','gatewayName', 'name', {type: 'search', placeholder: 'Router Name'}),
|
||||
new L3Input('Router IPv4 Address','gatewayRouterIP', 'router_ip', {type: 'text'}),
|
||||
new L3Input('Router IPv6 Address','gatewayRouterIP6', 'router_ip6', {type: 'text'}),
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue