# Error in valuelist in custom component.

**URL:** <https://forum.servoy.com/t/error-in-valuelist-in-custom-component/19602>\
**Category:** Classic Servoy\
**Created:** [February 15, 2018, 8:58am UTC](https://forum.servoy.com/t/error-in-valuelist-in-custom-component/19602 "2018-02-15T08:58:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay.rao](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jay.rao](https://forum.servoy.com/u/jay.rao)\
**Post date:** [February 15, 2018, 8:58am UTC](https://forum.servoy.com/t/error-in-valuelist-in-custom-component/19602/1 "2018-02-15T08:58:03Z")

</div>

Hello,  
We have a detail form and respective list form with our custom list-component.For our custom list-component we have same .spec file as that of bootstrapcomponents-table, although when we run our forms initially even before the list form is visible on screen/list is initialized we get below error for the valuelist. Is it because our valuelist was initialized by textbox/dropdown component and it still tries to rebind?

```auto
ERROR com.servoy.j2db.util.Debug - Valuelist: price_rule_price_rule_type used with different types
 at D:\Project\svy_nav_navigation\globals.js:16920
 at D:\Project\svy_nav_navigation\globals.js:16919 ()
 at D:\Project\svy_nav_navigation\globals.js:17894 ()
 at D:\Project\globis_ng_navigation\ng$nav.js:87 ()
 at D:\Project\globis_ng_navigation\ng$nav.js:29 ()
ERROR com.servoy.j2db.util.Debug - The valuelist was already created for type: TEXT
 for the dataproviders:
So it can't be used also for type: INTEGER for the dataprovider: price_rule_type
Please edit these dataprovider(s) (using table editor for database column or Edit variable context menu action for variables) of this valuelist: price_rule_price_rule_type so that they have the same type.
 at D:\Project\svy_nav_navigation\globals.js:16920
 at D:\Project\svy_nav_navigation\globals.js:16919 ()
 at D:\Project\svy_nav_navigation\globals.js:17894 ()
 at D:\Project\globis_ng_navigation\sample.js:87 ()
 at D:\Project\globis_ng_navigation\sample.js:29 ()

```

Do you have any suggestion to avoid such situation?
