We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061828c commit 7c7fde1Copy full SHA for 7c7fde1
src/components/picker/index.tsx
@@ -268,7 +268,7 @@ const Picker = React.forwardRef((props: PickerProps, ref) => {
268
if (fieldType === PickerFieldTypes.filter) {
269
return (
270
<Text text70 numberOfLines={1} style={others.style}>
271
- {label ?? others.placeholder}
+ {_.isEmpty(label) ? others.placeholder : label}
272
</Text>
273
);
274
} else if (fieldType === PickerFieldTypes.settings) {
@@ -278,7 +278,7 @@ const Picker = React.forwardRef((props: PickerProps, ref) => {
278
{others.label}
279
280
<Text text70 $textPrimary style={others.style}>
281
282
283
</View>
284
0 commit comments