Comments (10)
While I'm not sure what issue @oaHgnaW might be having, I don't have an issue with JIT compiling but I do get a runtime error:
Uncaught (in promise): Error: Unexpected value '[object Object]' imported by the
module 'WarrantyModule'. Please add a @NgModule annotation.\nsyntaxError
....
Commenting out NgBootstrapFormValidationModule.forRoot()
from my imports does squelch this error. I'm wondering if this issue might be solved by upgrading to one of the newer RC versions of ng-packagr
. There seem to be some decent changes being made to accommodate the updates with angular, typescript, and friends.
from ng-bootstrap-form-validation.
i got the same error with you, did you solved this question by upgrading to one of the newer RC versions of ng-packagr? if you do,please kindly tell me ,thks
from ng-bootstrap-form-validation.
Honestly I believe this to be a duplicate of #5. I think we should "redirect" our conversation there.
from ng-bootstrap-form-validation.
Just published a release that should fix Angular 5 support.
from ng-bootstrap-form-validation.
Where is the release published? I'm having this with the latest npm package.
from ng-bootstrap-form-validation.
@vvolodin - it is published to npm. Which version do you have installed?
https://www.npmjs.com/package/ng-bootstrap-form-validation
from ng-bootstrap-form-validation.
@vvolodin - could you share the dependencies section of your package.json
file?
from ng-bootstrap-form-validation.
figured it out, the 'latest' on npm is 1.0.11
1.0.11 is the latest of 22 releases
I've installed 2.0 manually and it's working fine.
from ng-bootstrap-form-validation.
Ah, crap. I'll fix that tonight. Thanks for finding that!
from ng-bootstrap-form-validation.
Created a new issue to track this problem here: #21
from ng-bootstrap-form-validation.
Related Issues (20)
- How disable multiple error messages
- how to incorporate debouncy behavior preventing double submit
- Issue with [formControl] input HOT 1
- How to apply to checkbox with custom error message
- License text not package in node_modules
- Project is dead?
- Ability to hide error messages inside <bfv-messages></bfv-messages> HOT 2
- [Question] ngx-translate support? HOT 3
- [Question] Don't show validation errors until first submit
- Support Angular 8 HOT 1
- [Feature Request] Surface error value in CustomErrorMessages array
- [Question] Example for server-side errors
- [Question] Disable validation for some fields HOT 1
- [QUESTION] How can i get requiredLength attribute of Validators.minLength when i format error message
- [Question] How to work with cross field validation HOT 1
- [Question] setErrors doesn't show messages.
- Support Angular 9 HOT 9
- Async validator don't call validSubmit function HOT 2
- Error message not showing when compiling with Ivy angular 9 HOT 3
- Custom error on form control with custom validator (AbstractControl, ValidatorFn)
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 ng-bootstrap-form-validation.