Skip to content

Commit 9a0fb85

Browse files
committed
fix: placeholder
1 parent 9a3074d commit 9a0fb85

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Selector/SingleSelector.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ const SingleSelector: React.FC<SelectorProps> = (props) => {
104104
attrs={pickAttrs(props, true)}
105105
maxLength={combobox ? maxLength : undefined}
106106
/>
107-
{/* Display placeholder */}
108-
{placeholderNode}
109107
</span>
110108

111109
{/* Display value */}
@@ -121,6 +119,9 @@ const SingleSelector: React.FC<SelectorProps> = (props) => {
121119
{item.label}
122120
</span>
123121
) : null}
122+
123+
{/* Display placeholder */}
124+
{placeholderNode}
124125
</span>
125126
);
126127
};

0 commit comments

Comments
 (0)