Comments (10)
from nova-phone-number.
I've tried many numbers that are generated by Faker. And I've also tried some manual entry. For example: 5141231234 which formatted as (514) 123-1234 automatically.
from nova-phone-number.
I also am having the same issue. I followed the docs using ->disableValidation() but also getting the validation.phone error.
Just using very simple config with disableValidation does not work.
PhoneNumber::make('Phone')->disableValidation()
Any movement on this ticket?
Thanks for your work.
from nova-phone-number.
I also am having the same issue but I not use disableValidation. This is my config:
PhoneNumber::make('Telefone', 'phone')
->sortable()
->format('(##) #####-####')
->placeholder('(00) 00000-0000')
->linkOnDetail()
->linkOnIndex(),
from nova-phone-number.
I am currently working on a fix. I should have something by this evening. Thanks for your patience.
from nova-phone-number.
@nickpoulos @chinleung Please try the latest release to see if it resolves your issue. You may have to clear your composer
cache to get the latest version.
from nova-phone-number.
Hi @dniccum,
I've tried again and it's still not working for me. I am still getting the validation.error message.
from nova-phone-number.
@chinleung I just attempted to replicate what you are seeing and I was unable to successfully replicate it. Are you using i18n translations, or are you attempting to validate a phone number that is other than a standard US phone number?
from nova-phone-number.
@dniccum that seems to have corrected the issue for me. I still have to use disableValidation() as the docs state we might depending on the format. I also had to run composer clearcache before the update. 👍
Thanks for your work, much appreciated.
from nova-phone-number.
Thanks @nickpoulos , I will go ahead and close this issue then. Let me know if you find any other issues.
from nova-phone-number.
Related Issues (17)
- Missing vendor/dniccum/phone-number/dist folder HOT 1
- Error when trying to use the country() validator HOT 7
- Only format's input HOT 5
- Issues with phone number validation. HOT 5
- Make formatting available on detail and index views. HOT 2
- the field show null instead of "----" HOT 3
- When phone field is blank then it should be display the proper message HOT 5
- [request]: add option removeMaskOnSubmit() HOT 1
- Does not respect nullable HOT 3
- Separate country field HOT 1
- Compatibility with Nova 4? HOT 1
- linkOnIndex not working in Nova 4
- Icannot install this because the Propaganistas / Laravel-Phone has released a new version 5.0
- Bad mask to Spanish "ES" phone numbers
- Option useMaskPlaceholder not works as expected
- Is there any solution for using dependsOn? HOT 1
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 nova-phone-number.