Ayan Dey

Results 19 comments of Ayan Dey

@catamphetamine "without country select" doesn't work with react native. Although I am trying out a simple example with text input and the libphonenumber-js to work out something. Till now what...

@catamphetamine > How are you using it? I am using it as per the instructions in the readme for using "without country select" > Is it v3? Yes, the latest....

> Then it won't work because React Native most likely doesn't support `` Yes you are correct. > See if `inputComponent={Select}` fixes the issue You mean to pass in the...

Ok, copying the above as a separate component and calling it as following: ```

@catamphetamine On Load I get a `warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?` On typing in the...

> input.value is being accessed from input-format package. Do I need to install the `input-format` package separately?? Since I still get the error: `TypeError: Undefined is not an object(evaluating 'input.value')`....

Yes, the forward ref warning disappeared but I get the `TypeError`.

I guess input-format is only for react. ![Screenshot_2020-01-23-22-09-05-727_com furry](https://user-images.githubusercontent.com/8104493/73004329-18475580-3e2d-11ea-86ba-bb7a15430b99.jpg)

On adding `smartCaret: { false }` I receive a `TypeError` on keying in numbers. This is what I have currently: this._phoneInputHandler(number) } /> ![Screenshot_2020-01-24-11-38-40-638_com furry](https://user-images.githubusercontent.com/8104493/73048198-4c0e9380-3e9e-11ea-974a-45ba4b51a49e.jpg)

![Screenshot_2020-01-24-16-31-41-572_com furry](https://user-images.githubusercontent.com/8104493/73064436-3792c100-3ec7-11ea-8297-c3ee3cb7b43e.jpg)