feat(frontend): add text search to node select components

Typing in the Deploy To select of the inbound form and the node filter select on the inbound list now filters nodes by label, matching the showSearch convention used elsewhere (NodeFormModal, HostFormModal). With 20+ nodes, scrolling was the only way to find one.

Closes #5743
This commit is contained in:
MHSanaei
2026-07-03 09:14:40 +02:00
parent f90e4a6962
commit dd4f55f690
2 changed files with 2 additions and 0 deletions
@@ -528,6 +528,7 @@ export default function InboundFormModal({
{selectableNodes.length > 0 && isNodeEligible && (
<Form.Item name="nodeId" label={t('pages.inbounds.deployTo')}>
<Select
showSearch
disabled={mode === 'edit'}
placeholder={t('pages.inbounds.localPanel')}
allowClear
@@ -174,6 +174,7 @@ export default function InboundList({
value={nodeFilter}
onChange={(v) => setNodeFilter(v)}
options={nodeFilterOptions}
showSearch
popupMatchSelectWidth={false}
style={{ minWidth: isMobile ? 90 : 140 }}
aria-label={t('pages.clients.filters.nodes')}