Comments (7)
It seems context was null when you choose a new country, I'll try to work on a fix for this.
from intl_phone_number_input.
@illiashvedov I just published what I hope would be a fix to this
from intl_phone_number_input.
Please lemme know this update fixes this issue before I close this. Thanks
from intl_phone_number_input.
Hi, I tried now I do not have a provider error but the country does not change, I do not exclude that this is my local problem, possibly due to some other dependencies
from intl_phone_number_input.
Thanks for the feedback @illiashvedov, I'll be closing this.
from intl_phone_number_input.
Still having this issue:
NoSuchMethodError: The getter 'owner' was called on null.
Receiver: null
Tried calling: owner
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 Provider.of (package:provider/src/provider.dart:193:15)
#2 _InputWidgetState._loadCountries (package:intl_phone_number_input/src/widgets/input_widget.dart:278:39)
#3 _InputWidgetState.initState.<anonymous closure> (package:intl_phone_number_input/src/widgets/input_widget.dart:362:41)
#4 new Future.delayed.<anonymous closure> (dart:async/future.dart:318:39)
#5 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:23:15)
#6 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#7 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
I'm on version ^0.4.0+2
.
This is my setup with just 1 country:
InternationalPhoneNumberInput(
onInputChanged: (PhoneNumber number) {
print(number.phoneNumber);
},
onInputValidated: (bool value) {
print(value);
},
textStyle: TextStyle(
fontSize: 16,
),
countries: ["AT"],
ignoreBlank: false,
autoValidate: false,
initialValue: _number,
inputBorder: InputBorder.none,
textFieldController: phoneInputController,
),
from intl_phone_number_input.
It seems this has to do with Provider, I guess I'll have to replace it
from intl_phone_number_input.
Related Issues (20)
- Enable or Disable selection of country from list HOT 1
- Hello no issue it's mistake sorry :) HOT 1
- Phone number on IOS does not work with country code HOT 6
- Error: Invalid value, Input field allowing special characters
- validator .. needs refactoring
- mobile number is incorrect HOT 2
- Get Phone Detail from contact list
- isoCode: 'MA' validators accept only 06 prefix !
- Allow Usage of ISO Codes Instead of Country Logos in the Leading of Input Field
- Version soloving failed
- Material 3 SubTitle Style is Deprecated . can you please change as per the Material 3 and Make a Release HOT 2
- Change the type of initCountry to String
- validatorMessage doesnt appear if is different of AutovalidateMode.always or doesnt triggered onChanged
- Not compatible with xcode 15 phonenumberkit deployment target 12 HOT 8
- Add Korean Translation Support
- PROJECT STILL ACTIVE?? kindly update please
- Programmatically change selected country code, or fill fields (flag and text input) using PhoneNumber
- selector customization needed HOT 1
- I
- IOS error : Compiling for iOS 11.0, but module 'PhoneNumberKit' has a minimum deployment target of iOS 12.0:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intl_phone_number_input.