[PR #4372] [MERGED] fix: protocol filter placeholder not showing on initial load #5678

Closed
opened 2026-11-02 04:03:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/4372
Author: @abdalrahmanx9
Created: 5/14/2026
Status: ✅ Merged
Merged: 5/14/2026
Merged by: @MHSanaei

Base: main ← Head: fix/protocol-filter-placeholder


📝 Commits (1)

  • 0c73bb8 fix: protocol filter placeholder not showing on initial load

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 frontend/src/pages/inbounds/InboundList.vue (+1 -1)

📄 Description

Summary

  • Fix the protocol filter dropdown in the inbounds page not displaying its placeholder text until a protocol is selected and then cleared
  • Root cause: protocolFilter was initialized to '' (empty string), which Ant Design's a-select treats as a selected value, suppressing the placeholder
  • Changed initialization to undefined so the placeholder renders immediately on page load

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/4372 **Author:** [@abdalrahmanx9](https://github.com/abdalrahmanx9) **Created:** 5/14/2026 **Status:** ✅ Merged **Merged:** 5/14/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix/protocol-filter-placeholder` --- ### 📝 Commits (1) - [`0c73bb8`](https://github.com/MHSanaei/3x-ui/commit/0c73bb8579b3077d0c838deaa9c5c05556991f10) fix: protocol filter placeholder not showing on initial load ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/inbounds/InboundList.vue` (+1 -1) </details> ### 📄 Description ## Summary - Fix the protocol filter dropdown in the inbounds page not displaying its placeholder text until a protocol is selected and then cleared - Root cause: `protocolFilter` was initialized to `''` (empty string), which Ant Design's `a-select` treats as a selected value, suppressing the placeholder - Changed initialization to `undefined` so the placeholder renders immediately on page load --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:16 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5678
No description provided.