Related
Hasoun GH I'm sending a value from an HTML page to a TS component without using a form, I get a build error when trying to npm run build, here is the example: I use > npm run dev or > ng build no problem, but when I build it for production it gives an error us
User 1231111 I want to pass a static value from html to the component, but it doesn't work, I'm stuck all day... can you give me some glue? thanks Element: import { Component, Input } from '@angular/core';
@Component({
selector: 'rio-hello',
template: `<p
Santosh Hegde I have an angular2 project which index.htmlcontains a title bar. Other components will be responsible for logging in and displaying other content. I have to display the logo in the title bar, index.htmlonly when the user is logged in. I set a fla
vsg I want to get the id from component.html to component.ts to pass it to the service. .ts files are; import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http'
import { HttpErrorResponse } from '@angular/common/http/
Santosh Hegde I have an angular2 project which index.htmlcontains a title bar. Other components will be responsible for logging in and displaying other content. I have to display the logo in the title bar, index.htmlonly when the user is logged in. I set a fla
Santosh Hegde I have an angular2 project which index.htmlcontains a title bar. Other components will be responsible for logging in and displaying other content. I have to display the logo in the title bar, index.htmlonly when the user is logged in. I set a fla
Santosh Hegde I have an angular2 project which index.htmlcontains a title bar. Other components will be responsible for logging in and displaying other content. I have to display the logo in the title bar, index.htmlonly when the user is logged in. I set a fla
Santosh Hegde I have an angular2 project which index.htmlcontains a title bar. Other components will be responsible for logging in and displaying other content. I have to display the logo in the title bar, index.htmlonly when the user is logged in. I set a fla
Marco Herrarte I have a specific html input element that displays the calendar, can this element be added to the form and validated? I excluded the model field in the form so when I don't use render in the form field class AddVisionForm(forms.ModelForm):
c
Ayush Gupta Hi I have a list and can dynamically get a list of barcodes from localstorage. component file <div class="scan-list">
<table *ngFor="let item of fsubList">
<tr>
<td><h3>Reel No: {{item.barcodeno}}</h3></td>
<td><
Giuseppe Vergari I am using the Hero demo provided from the angular website. I modified it to keep the data in the rest of the server. That's ok, but when I try to open the hero's details it misses printing every detail like last name ecc... I think there is a
Giuseppe Vergari I am using the Hero demo provided from the angular website. I modified it to keep the data in the rest of the server. That's ok, but when I try to open the hero's details it misses printing every detail like last name ecc... I think there is a
Giuseppe Vergari I am using the Hero demo provided from the angular website. I modified it to keep the data in the rest of the server. That's ok, but when I try to open the hero's details it misses printing every detail like last name ecc... I think there is a
Ender 99 I know using @Input to pass data between components in html, but how to pass them through ts file? This is the parent file. I want to pass this.category and this.data to SelectCustomersProjectModalComponent. public openSelectRolesModal() {
thi
Thomas DeGroot I have a *ngFor that uses let i = index and indexes the array as expected. html <div *ngFor="let fromItem of listResults let i=index;">
<ion-item (click)="openSubsetPage( i )" detail>
<ion-label>{{fromItem.Name}}</ion-label>
<
Thomas DeGroot I have a *ngFor that uses let i = index and indexes the array as expected. html <div *ngFor="let fromItem of listResults let i=index;">
<ion-item (click)="openSubsetPage( i )" detail>
<ion-label>{{fromItem.Name}}</ion-label>
<
Thomas DeGroot I have a *ngFor that uses let i = index and indexes the array as expected. html <div *ngFor="let fromItem of listResults let i=index;">
<ion-item (click)="openSubsetPage( i )" detail>
<ion-label>{{fromItem.Name}}</ion-label>
<
Thomas DeGroot I have a *ngFor that uses let i = index and indexes the array as expected. html <div *ngFor="let fromItem of listResults let i=index;">
<ion-item (click)="openSubsetPage( i )" detail>
<ion-label>{{fromItem.Name}}</ion-label>
<
Thomas DeGroot I have a *ngFor that uses let i = index and indexes the array as expected. html <div *ngFor="let fromItem of listResults let i=index;">
<ion-item (click)="openSubsetPage( i )" detail>
<ion-label>{{fromItem.Name}}</ion-label>
<
Jannemannen : I have this prop in one of my components and I want to pass it to another component and use it as a variable there: const VerContinentToolbar = (props) => {
return (
<Menu className="nav-icon">
<CountryList displayFields={["count
user_3535 I'm using Redux forms for forms in React.js, my form is, and I have a custom Google Map component, I want to bind lat and long to my form form import React from 'react';
import { Field, reduxForm } from 'redux-form';
const SimpleForm = props => {
c
Vinso So I'm using https://github.com/and-who/react-p5-wrapper to create p5.js in React. I was wondering if there is a way to pass the values from the p5 Sketch file back to React? E.g. I want to keep track of the tag value generated in p5 Sketch and use it so
user_3535 I'm using Redux forms for forms in React.js, my form is, and I have a custom Google Map component, I want to bind lat and long to my form form import React from 'react';
import { Field, reduxForm } from 'redux-form';
const SimpleForm = props => {
c
user_3535 I'm using Redux forms for forms in React.js, my form is, and I have a custom Google Map component, I want to bind lat and long to my form form import React from 'react';
import { Field, reduxForm } from 'redux-form';
const SimpleForm = props => {
c
user_3535 I'm using Redux forms for forms in React.js, my form is, and I have a custom Google Map component, I want to bind lat and long to my form form import React from 'react';
import { Field, reduxForm } from 'redux-form';
const SimpleForm = props => {
c
Vinso So I'm using https://github.com/and-who/react-p5-wrapper to create p5.js in React. I was wondering if there is a way to pass the values from the p5 Sketch file back to React? E.g. I want to keep track of the tag value generated in p5 Sketch and use it so
Vinso So I'm using https://github.com/and-who/react-p5-wrapper to create p5.js in React. I was wondering if there is a way to pass the values from the p5 Sketch file back to React? E.g. I want to keep track of the tag value generated in p5 Sketch and use it so
LetsamrIt I have a parent component and a service. I want to pass the value of the variable mMeasuredDistanceInKM
to the main component. So I created an output variable in the service like this @Output() EventEmittermMeasuredDistanceInKM: EventEmitter<string>
Jannemannen : I have this prop in one of my components and I want to pass it to another component and use it as a variable there: const VerContinentToolbar = (props) => {
return (
<Menu className="nav-icon">
<CountryList displayFields={["count