Comments (7)
If you are using reactive forms then it is possible to specify: formControlName="imageUrl".
from ng2-fancy-image-uploader.
How can i implement this?
formControlName="imageUrl" ?
from ng2-fancy-image-uploader.
Can u provide example for this @ogix
from ng2-fancy-image-uploader.
@GeekyMonkey Did you figure this out
from ng2-fancy-image-uploader.
No. Sorry. I gave up on this control and rolled my own. It wasn't a great fit for my use anyway.
from ng2-fancy-image-uploader.
Anyway if somebody needs it
public fileControl = new FormControl();
ngOnInit() {
this.fileControl.setValue('url', { emitEvent: false});
}
<fancy-image-uploader id="field_photoUrl" name="photoUrl" [formControl]="fileControl" [options]="options" (onUpload)="onUpload($event)"></fancy-image-uploader>
from ng2-fancy-image-uploader.
i try from @enyachoke suggestion. it does not working. I got some error.
Can you help me to fix?
from ng2-fancy-image-uploader.
Related Issues (20)
- cropperjs: module not found HOT 7
- Unexpected value 'FancyImageUploaderModule' imported by the module 'AppModuleShared'. Please add a @NgModule annotation
- ThumbnailResizeMode required my FancyImageUploaderOptions
- Image Cropping
- Version issue HOT 1
- How to sent headers in upload URL
- How show initial image ? HOT 1
- No Provider for Renderer HOT 1
- Documentation for options
- Support Angular 6 HOT 5
- Default image HOT 2
- unable to take production build
- Installation error HOT 1
- onUpload event not fired with autoUpload: false option HOT 4
- Styles missing? HOT 1
- Metadata version mismatch for module - found version 4, expected 3 HOT 1
- BrowserModule has already been loaded (on lazy load module) HOT 1
- BrowserModule was be imported HOT 1
- Critical dependency: the request of a dependency is an expression HOT 3
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 ng2-fancy-image-uploader.