Skip to main content

All Questions

0 votes
1 answer
86 views

get the indexOf of a cascaded array of objects

I'm trying and puzzling for a couple of hours now and I can't get my head around it. I have the following data structure in Redux: entities: { users: { dentists: [ { id: ...
Wolk9's user avatar
  • 69
0 votes
2 answers
807 views

how to insert data to bootstrap table from redux store in react.js?

I have data (array) in redux store. I have created actions and reducer for it but how can I display data that is already stored in redux store to my bootstrap table ? my functional component that has ...
Tips and Tricks Of Chess's user avatar
0 votes
2 answers
153 views

react-bootstrap/Image don't load imgURL

import Image from 'react-bootstrap/Image'; ... <Image src={user && user.photoURL} style={{ width: '30p', height: '30px', marginTop: '3px' }} ...
pokoed's user avatar
  • 1
0 votes
1 answer
2k views

Changing boolean value with React Bootstrap checkbox and hooks

Trying to change the isVegan object (nested boolean) with React Bootstrap checkbox and hooks. I can access the object without any issues (e.g. checkbox is checked if isVegan is true), but have been ...
jasontulloch's user avatar
1 vote
2 answers
53 views

React bootstrap navbar1

I am new to react and I am using React bootstrap for the template .I am using specifically the navbar component of react. I am trying to centre the text in the middle. However it is coming like this: ...
sandeep pradhan's user avatar
0 votes
1 answer
391 views

Check the render method of `UserActionApp`

I am new to react was trying to implement CRUD operations in React JS using web API. However, I am receiving an error which I do not understand. The error is this: Error: Element type is invalid: ...
sandeep pradhan's user avatar
0 votes
1 answer
123 views

Element type invalid: expected a string or a class function

I am new to react was trying to implement CRUD operations in React JS using web api. However, I am receiving an error which I do not understand. The error is this: Error: Element type is invalid: ...
sandeep pradhan's user avatar
0 votes
1 answer
42 views

React: how to fire the parent component method?

How do I get access from component to the methods of the owner of this component? I.e. (maybe) you need to get a pointer to the owner of the element and already call the method by the pointer. For ...
Zhihar's user avatar
  • 1,438
0 votes
1 answer
96 views

Populate based on choice values in select field

I am new to react and had a design challenge to overcome. What I want to do is have a set of choice values in the choice field. Each choice value will have different set of KPIs and UOMs . Based on ...
sandeep pradhan's user avatar
2 votes
1 answer
197 views

Convert date time into date:Post method showing failed

I am new to react and web api development. I am having an issue with datetime. As I am having a datetime component in my employee model. Code here: Employee.cs namespace WebAPI.Models { public ...
sandeep pradhan's user avatar
0 votes
2 answers
925 views

Delete method not working in React js .Not able to delete rows

I am new to react and was trying to implement a delete method to delete the rows in a table. I am using a web api to delete the rows in my sql table. However, I am not able to do that. Here is the ...
sandeep pradhan's user avatar
1 vote
2 answers
74 views

Error: Element type is invalid:Edit button showing error

I am new to react and am trying to put edit button next to the rows for edit function into the DB However I am getting this error message. Error: Element type is invalid: expected a string (for built-...
sandeep pradhan's user avatar
1 vote
1 answer
404 views

Cannot read property 'value' of undefined Error on Modal Popup

I am new to react and am trying to implement this code. However I am getting this error: handleSubmit D:/React/employee-app/src/components/AddDepModal.js:14 11 | handleSubmit(event){ 12 | ...
sandeep pradhan's user avatar
1 vote
1 answer
309 views

Error on running code (deps.map is not a function)

I am new to react and am trying to implement this code. However I am getting this error: I am trying to get the tables populated with department values. Hence rendering the table as such × TypeError: ...
sandeep pradhan's user avatar
2 votes
1 answer
8k views

How do I display 3 card components horizontally with react bootstrap and grids?

db.json { "products": [ { "id": 1, "name": "Moto G5", "quantity": 2, "price": 13000 }, { "...
ROHIT K F's user avatar
  • 101

15 30 50 per page