# Getting value to be undefined in console but works in the ui

**URL:** <https://forum.builder.io/t/getting-value-to-be-undefined-in-console-but-works-in-the-ui/4318>\
**Category:** Technical Questions\
**Tags:** nextjs\
**Created:** [October 16, 2023, 11:06am UTC](https://forum.builder.io/t/getting-value-to-be-undefined-in-console-but-works-in-the-ui/4318 "2023-10-16T11:06:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SelvaPrasath](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SelvaPrasath](https://forum.builder.io/u/SelvaPrasath)\
**Post date:** [October 16, 2023, 11:06am UTC](https://forum.builder.io/t/getting-value-to-be-undefined-in-console-but-works-in-the-ui/4318/1 "2023-10-16T11:06:01Z")

</div>

I am trying to get the value into customComponent as a prop from a data model where I am binding the data from the page model. I am able to see the text ui but I am not sure why am I getting the error in the console.

Stack used  
\*e.g. NextJS

Screenshots below

You can see the image being displayed below a featuredArticle where the data is displayed in the ui but shows a warning in the console.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/5/5e746d3630d0e42b03202c7a82bb8a34a3c3bbc3.jpeg)  
The code associated with this is  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/f/f5ac66adbbcf3c86c0919296ab0262f6a556e865.png)

In the same way I have an article component that shows a list of articles in it shows

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/0/0370c48273402ff16a19ea1e7616ddd3c48574f6.jpeg)  
The code associated with that is  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/d/d44def3052a5257ec2541e6ed59671386912988c.jpeg)

The way I have made this binding is as below

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/1/1a4942212c9fe0fab30c4d086d09d844b913600a.png)

here is the builder.tsx file. Can you help me to figure out What am I missing out here.

Also one another concern is about the below image. Why is this even happening. I tried to change the value in [builder.io](http://builder.io) but unfortunately I am getting this error in the console.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/a/aee04f5f4a1779fe623b9707f5b940758212f487.jpeg)
