New Rules "Edit/Clone Rule UI" seems broken, "Nothing selected" appears randomly

Started by fuba, February 01, 2026, 08:34:24 PM

Previous topic - Next topic
February 01, 2026, 08:34:24 PM Last Edit: Today at 05:59:25 PM by fuba Reason: added GitHub Bugreport link
Hi there,

the new Rules UI is generally working, and the rules themselves apply correctly.
However, the "Edit/Clone Rule Popup" appears to be "broken" anyhow when switching between different interfaces and editing a rule.

When switching interfaces, Source and Destination fields randomly change to "Nothing selected".
In some cases, Ports also become sown as empty.
But the Values are actually there!

Reproduce:
  • Open "Interface1" → Edit RuleX → everything is correct
  • Select another interface (any interface)
  • Check the rules and you may now see some Editboxes or Comboboxes showing "Nothing selected"
  • Switch back to the previous "Interface1"
  • See even more "Nothing selected" Editboxes or Comboboxes, mostly Source and Destination, but sometimes Ports are also empty (at least in my case)
  • Refresh the page while staying on the current interface, the bug is gone until you switch interfaces again

I tested this with Firefox, Edge, and Brave on Windows, as well as Firefox on CachyOS from a different machine.
I also tested after deleting all browser data.

I've not recognized that bug with the legacy Rule UI.

Here is a video demonstrating the issue:

P.s.
Don't blame me for my rules! 🤣

Edit:
Bugreport at GitHub can be found here:
https://github.com/opnsense/core/issues/9709

Even I'm facing this issue Source and Destination fields randomly change to "Nothing selected" but rules are working fine, I have done a fresh install and created rules manually no import still issue is there.

It would help if you can open an issue on github.

If it's some sort of race condition the environment (speed of client that has the broweser, opnsense hardware, network speed/latency between client and opnsense) and the browser logs (Developer Tools, console errors) could help maybe.

https://github.com/opnsense/core/issues
Hardware:
DEC740


I have also had the "Nothing selected" happening frequently on rules edit. My sequence of events was upgrade install and a day later migrated about 50 rules to the new interface with no problems. I then did a clean install with the existing configuration to migrate from UFS to ZFS file system. At this point I started editing rules and noticed the "Nothing selected" problem. I believe I encountered the problem even with no interface change involved.

From a speed perspective everything is over provisioned. The client system has an Intel Ultra 9 285K processor, Intel X710-TL 10 Gb ethernet connection, Samsung 9100 SSD & Windows 11 with Edge as the browser. The OPNSense hardware has an Intel i7-13700K processor, Samsung 990 Pro SSD, and Intel X710-TL configured as a dual (wan/lan) 10 Gb ethernet.