Jack O'Connor
Jack O'Connor
@NamPNQ believe it or not, I am finally getting around to looking into this! I can only apologise for the ridiculous delay, but I hope you understand that open source...
Amazing, this is working perfectly, thank you so much @NamPNQ! The built utils.js works perfectly, tests pass as you say, and the build file is a similar size to before....
Thanks @ashishmishraoft that's a really good point. As per the readme, the `hiddenInput` option requires the utils script to be loaded using the `utilsScript` option. And I notice the op...
https://github.com/jackocnr/intl-tel-input/issues/1315#issuecomment-1497863987
Closing due to inactivity.
Apologies for the delay in getting to this, life sometimes gets in the way! But as I think about this, I'm afraid it might not be as simple as just...
Haha, with that said, I've just remembered that `dropdownContainer` option does exactly what you want - so you can just use that!
I'm getting very similar: "R[i] is not a function", with the same stack trace as you, just different line/character numbers. This occurs when I navigate to the root /storybook URL...
I found an easy workaround - posting here in case it's useful for others. That linked comment pointed me to `node_modules/@storybook/ui/src/components/preview/background.js` which contains Storybook's grid styles, which I just applied...
The utilsScript value is incorrect - it is pointing to the plugin script - instead it needs to point to the utils script e.g. `https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/23.0.4/js/utils.js`