How can we set the default country code for the phone number in the Okta widget? I have tried ‘defaultcountrycode’, as mentioned on this page ‘GitHub - okta/okta-signin-widget at 7.1’, but it is not supported by WidgetOptions interface anymore.
Which version of the widget are you testing with, and what to what value are you setting defaultCountryCode
?
Thanks for the reply.
I am using this version: “@okta/okta-signin-widget”: “7.1.0”.
I was trying to change it to ‘CA’, instead of default value ‘US’ and "defaultCountryCode: ‘CA’ " was working earlier before updating the version.