fix: add required attribute and default option to protocol selection for improved user guidance

This commit is contained in:
2025-12-18 09:48:01 -05:00
parent 602456893a
commit b7547fd01b

View File

@@ -1725,7 +1725,8 @@
Protocol
<span class="text-xs font-normal text-base/50">(auto-filled by macro)</span>
</label>
<select wire:model="ruleProto" class="w-full px-3 py-2 border border-neutral rounded-lg bg-background text-sm">
<select wire:model="ruleProto" class="w-full px-3 py-2 border border-neutral rounded-lg bg-background text-sm" required>
<option value="" disabled selected>Select Protocol</option>
<option value="tcp">TCP</option>
<option value="udp">UDP</option>
<option value="icmp">ICMP</option>