Hi Stephe !
In my form i Hava this: (use this img temp so just to check my image is there)
I use the just to see that the info is there. then I call <upload-image...., with the parameter that you see. But when I get into :
@Component({ selector: 'upload-imagen', templateUrl: './imagen.component.html', styleUrls: ['./imagen.component.scss'],
})
export class imageUploadComponent { @Input() imagen: any; .... and do a console.log(this.imagen) can see :undefined So I guess Im not passing the parameter ok or Im not using (@Input() imagen: any;) the correct way.
Hope you undertand me and thx for your time
Hi I can't really debug for you from here... But have you imported input?
input
@Component({ selector: 'upload-imagen', ....
and ... export class imageUploadComponent { @Input() imagen: any;
Could it be that passing parameter has a size limit ?
Thx
yes
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Stephe !
In my form i Hava this:
(use this img temp so just to check my image is there)
I use the just to see that the info is there.
then I call <upload-image...., with the parameter that you see.
But when I get into :
@Component({
selector: 'upload-imagen',
templateUrl: './imagen.component.html',
styleUrls: ['./imagen.component.scss'],
})
export class imageUploadComponent {
@Input() imagen: any;
....
and do a console.log(this.imagen) can see :undefined
So I guess Im not passing the parameter ok or Im not using (@Input() imagen: any;) the correct way.
Hope you undertand me and thx for your time
Hi I can't really debug for you from here... But have you imported
input
?@Component({
selector: 'upload-imagen', ....
and ...
export class imageUploadComponent {
@Input() imagen: any;
Could it be that passing parameter has a size limit ?
Thx
yes