Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [prop]

The prop() function was added in jQuery 1.6 library. It returns a property for the first element of the matched set.

0 votes
0 answers
10 views

What does the _PROP signify in the data dictionaries for claims center, billing center, etc?

In the data dictionaries for Claims Center, Billing Center, etc. would anyone know what the suffix _PROP signifies? It is attached to several virtual properties, yet I am unfamiliar with what it means ...
AndrewH's user avatar
0 votes
0 answers
24 views

How to call a props passed component in another component react native using typescript

I'm trying to call EventList component in EventList screen I got this error. Type '{}' is missing the following properties from type 'EventAddProps': navigation, routets(2739) (alias) function ...
Kavindu Samaradivakara's user avatar
0 votes
0 answers
48 views

My nextjs npm run build returns "Unsupported Server Component type"

My npm run build is not working while I can use npm run dev. Here is an errors. C:\Users\sawettachats\receiving-mat>npm run build Error occurred prerendering page "/profile/addData". ...
Ryu Jung's user avatar
0 votes
1 answer
41 views

Data prop responsiveness issue when input bind:value in Svelt

When export let data is an object, there is a data prop reactivity problem when using input bind:value. For example, in the following case <script> export let data = {name:"jack", age:...
한테로's user avatar
0 votes
1 answer
247 views

Unexpected mutation of Prop

I am passing an apiStepNumber prop from the parent component to the child component and using it in the child component as a v-model value NOTE: Code Snippets will not work. Please avoid running them....
Harsh Shukla's user avatar
0 votes
1 answer
53 views

I know that using props in the initial state is an antipattern in React. How can I achieve the same result without using the prop in the state?

Todo app In my Todo app, I have a Todos List data, and the user can edit todo titles and save or cancel. Saving will change the data in the state, and in case of canceling, the title will remain the ...
Programmer's user avatar
0 votes
1 answer
14 views

React import className in children?

I have a file called Button.jsx for reusing a button. It receives the children and className props. export default function Button({ children }, { buttonStyle }) { return( <> ...
red17's user avatar
  • 77
3 votes
0 answers
324 views

Highlight.js Vue Plugin systematically ignores language value passed to it

Whether I call the plugin directly from my template section or mount it programmatically while passing to it a language prop value, the language I specify always ends up being ignored by the plugin ...
drake035's user avatar
  • 2,669
0 votes
1 answer
50 views

Having prop validation error in JSX during onclick as getting passed function as not function?

Having prop validation issue where I am passing a funciton as a prop but error is coming saying it is not function. The Contact.jsx: import Avatar from "./Avatar"; import PropTypes from &...
Amreet Kurmi's user avatar
0 votes
0 answers
132 views

Sveltekit <Page> was created without expected prop in SvelteKit During Prop Passing, data is successfully fetched on the server side

issue: The console log on the server side shows that the profile data is fetched successfully. However, the client-side component logs "Profile is not available or loading." and doesn't ...
Joe Murillo's user avatar
0 votes
0 answers
54 views

Send the parameters to the parent component by selecting a radio button

I am working on Quasar, and I have the following issue: I currently have a table in a pop-up where the chartsSeries are passed, which are the names of the variables in the chart. In this pop-up, I ...
Stefan's user avatar
  • 141
0 votes
2 answers
80 views

How to Move props (prop drilling) data across different components that exists in different pages in react

I am trying to move the newItems, setNewItems values of [newItems, setNewItems] = useState([]); as props for components used in another web page on the app am building, the Idea is this, while in the ...
Aham_Uzoma's user avatar
0 votes
2 answers
711 views

How to pass an Object as a prop in Vue js?

I thought passing an Object is simillar to an array, I just simply need to avoid v-for loop. But in this case I'm getting prop as an undefined. <template> <p>{{info.text...}}</p> &...
john's user avatar
  • 25
0 votes
1 answer
448 views

Select row in q-table with button using Vue.js

When I press the edit button from the action buttons in the q-table, the button opens a modal. However, because the checkbox is not selectable in the q-table, I get an error when I want to update the ...
quasar121w31's user avatar
-2 votes
3 answers
2k views

how make [Object object] to string in react

Question: export function Main () { return ( <div className="py-4"> <Discount/> <Text subtitle={` ${JSON.stringify(`${<h1>Some <p className="class"...
Nevazno_html_css_js_3's user avatar

15 30 50 per page
1
2 3 4 5
24