components Questions

6

Solved

I have a Blazor page with two components. One component has a button which generates a random number when clicked. The other component has a text area which should display the generated random numb...
Itu asked 13/5, 2020 at 19:13

2

Solved

I have this GitLab CI-Component: spec: inputs: message: default: test --- .test-component: script: - echo "$[[ inputs.message ]]" Also I have this Pipeline: stages: - test include...
Chromatid asked 11/4, 2024 at 14:58

7

This multiple component doesn't work; import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, Link, browserHistory, IndexRoute } from 'react-router' class App extends...
Casiecasilda asked 7/9, 2016 at 4:35

5

Solved

I have one parent and one child component. If the child component updates its value internally I am unable to update value back from Parent. See the example in this Stackblitz: https://stackblitz.c...
Ruddy asked 2/6, 2020 at 21:56

3

Any problem with this code? class App extends React.Component { constructor(props) { super(props); this.state ={ name: '', gender: '', age: '', }; } componentWillMount() { const { steps ...
Blowzed asked 18/6, 2020 at 2:15

3

Solved

I have two react components and I'd like to call setState to set a state in the one Component but called in the other one. How do I do that?
Codeclination asked 6/3, 2019 at 17:7

3

Solved

I'm learning testing on react and react components with react testing library and jest. While trying to test a component that works when rendering the component it works with no issue, but when tes...
Lauretta asked 28/1, 2023 at 20:29

7

Solved

Using PrimeNg's dynamic dialogue example shows how the destination dialogue can get data and display. I can go through creating a service with observables to pass the data to the dialogue, but I k...
Socher asked 2/2, 2019 at 5:44

2

Solved

I am trying to create issue using Jira REST API including component. I am posting this JSON but I get The remote server returned an error: (400) Bad Request. Issue is:- Without component there is n...

4

Solved

I am going to use ng2-ckeditor plugin for my angular 4 project. I read guide and there was configuration of systemjs file. But I couldn't find systemjs in my angular 4 cli project. So I did other t...
Hakluyt asked 23/7, 2017 at 15:42

3

I just want to know how to call a parent function from a child component. I've tried to use the $parent to call the parent method, but I get this error TypeError: _this.$parent.forceRender is not ...
Idiographic asked 13/11, 2020 at 21:4

12

Solved

I have the following simple short-circuit statement that should show either a component or nothing: {profileTypesLoading && <GeneralLoader />} If the statement is false, it renders ...
Authorized asked 29/10, 2018 at 14:50

7

If I have the need to bind multiple properties from the same observable within my component template... For example: <my-random-component[id]="(myObservable$ | async).id"> ... <my-rando...
Holystone asked 10/10, 2018 at 22:30

5

Solved

So I've created a simple wrapper component with template like: <wrapper> <b-table v-bind="$attrs" v-on="$listeners"></b-table> </wrapper> using $attrs and $listeners to ...
Demonstrative asked 16/6, 2018 at 21:23

5

Solved

I am using AEM 6.2 and trying to create a parsys component in crx, using the code below However, the height of this parsys, in edit mode, comes as 0px. Attached are the screenshots. When ...
Cinchonine asked 19/6, 2017 at 18:48

2

Solved

I have implemented the brand new Symfony authentication system : https://symfony.com/doc/current/security/experimental_authenticators.html And I added the new Login Throttling : https://symfony.com...
Afterthought asked 14/3, 2021 at 12:35

4

Solved

Why is Spring @Value Annotation not working in the constructor? I have this Email class that is reading some email related configuration. In the constructor, if I put a break-point the values are ...

25

Solved

I am working on an Angular project. I'm struggling with refresh action in a component. I would like to refresh the router's components on button click. I have refresh button when I click on it the...
Heighho asked 14/12, 2017 at 12:55

1

Currently using Material-UI-React for the first time to build out cards that expand, the issue I'm running into is when I click on one card to expand, they all expand.How can I refactor my code to ...
Carbonyl asked 28/8, 2019 at 19:48

2

I'm trying to integrate a Bpmn Modeler into my React app but so far it's not successful. It seems to work with the Viewer example I've also found in SO in the other thread, but with a Modeler, I ca...
Cinereous asked 24/1, 2019 at 10:48

3

Solved

I have MainComponent that uses ChildComponentA as a @ViewChild. MainComponent is calling a method on ChildComponentA. I want to write an unit test case mocking ChildComponentA. How can I do this u...
Heal asked 1/9, 2016 at 22:33

2

Solved

I'm seeking clarification on the best practices regarding the usage of standalone components and modules in Angular 14. Given the introduction of standalone components as a new concept in Ang...
Evangelicalism asked 24/11, 2022 at 9:26

12

I'm using react-select and I'm customizing it,I didn't found an option to do this. Is there some workaround I can use to keep dropdown open when I'm styling it?
Trstram asked 15/3, 2018 at 12:4

8

Solved

I'm following this medium article to use FloatingTitleTextInputField in my react-native project below is my project structure Here is my code for HomeScreen.js import React, {Component} from '...
Pantile asked 24/9, 2019 at 12:28

2

Let's say we have a component called TopComponent with a template like this: <ng-template #top> <inner-selector #inner></inner-selector> </ng-template> Its code is simple:...
Camara asked 3/5, 2017 at 15:39

© 2022 - 2025 — McMap. All rights reserved.