fixing the open issue #2093

original library link  - https://github.com/harvesthq/chosen