Skip to content

Commit cd3ec5c

Browse files
authored
Picker - remove colon from label on filter fieldType (#3179)
1 parent 869d68f commit cd3ec5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/src/screens/componentScreens/PickerScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export default class PickerScreen extends Component {
266266
<Picker
267267
value={this.state.filter}
268268
onChange={value => this.setState({filter: value})}
269-
label="Your Posts"
269+
label="Your Posts: "
270270
placeholder="Filter posts"
271271
fieldType={Picker.fieldTypes.filter}
272272
marginB-s3

src/components/picker/helpers/useFieldType.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const useFieldType = (props: UseFieldTypeProps) => {
2121
return {
2222
preset: preset || null,
2323
containerStyle: {flexDirection: 'row'},
24-
label: label && `${label}: `,
24+
label,
2525
labelStyle: {...Typography.text70, color: Colors.$textNeutral},
2626
trailingAccessory: trailingAccessory ?? <Icon marginL-s1 source={dropdown}/>
2727
};

0 commit comments

Comments
 (0)