hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
971 stars 295 forks source link

Help -> Unexpected dash symbol added when type #604

Open costea93 opened 1 year ago

costea93 commented 1 year ago

Hi, i have one small issue/question. We have that boolean addCustomItem that allows you to add new item if you didn't find what you need when search.

The problem is that when i type for example:

Hello there, here i am it transforms it in this value: Hello-there, here i am

It basically always add's dash symbol after we want to make space after first typed word.

How can i avoid this? Many thanks!!!

joshzeldin commented 1 year ago

@costea93 did you find a solution for this? I'm finding the same issue and my inputs are very likely to have dashes so I can't just remove them. Any help would be very much appreciated! 😄

williamsjriley commented 1 year ago

I'm having the same issue here :( Did anyone find a good work around? It's also unlikely to do post processing that will only handle the new custom ones and not the pre-selected ones.