mvc: slightly improve replaceInputWithSelector() to support an empty placeholder, which should help for https://github.com/opnsense/core/pull/9158
This change uses a token for the single/manual input, in which case callers may use definitions like:
......
'networks' => [
'label' => gettext("Networks"),
'items' => [
'' => gettext('any'),
'(self)' => gettext("This Firewall")
]
]
.....
When empty is offered, "any" will be choosen in this case. In theory we could change the filter model as well as "any" has no functional meaning anyway, but for simplicty this only changes the javascript part.
bootgrid: Raise rowCount default to 50 as y-overflow handles this gracefully (#9162)
* bootgrid: Raise rowCount default to 50 as y-overflow handles this gracefully, ensure low initial rowcount for master detail grids, clean up some scattered rowcounts in views
bootgrid: Raise rowCount default to 50 as y-overflow handles this gracefully, ensure low initial rowcount for master detail grids, clean up some scattered rowcounts in views
make: contrib dir support
Made this very rudimentary compared to core because in practice we do not
need any fancy features from src dir (replacements, links, etc.)
(cherry picked from commit 3e018f4db8520207a4b02f8357c58eefff1bdd86)