# Default value not applying for custom component properties 

**URL:** <https://forums.fusetools.com/t/default-value-not-applying-for-custom-component-properties/5345>\
**Category:** Bug Reports\
**Created:** [January 7, 2016, 11:42am UTC](https://forums.fusetools.com/t/default-value-not-applying-for-custom-component-properties/5345 "2016-01-07T11:42:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![craig1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/craig1/32/501_2.png) [@craig1](https://forums.fusetools.com/u/craig1)\
**Post date:** [January 7, 2016, 11:42am UTC](https://forums.fusetools.com/t/default-value-not-applying-for-custom-component-properties/5345/1 "2016-01-07T11:42:02Z")

</div>

Hi,

The ux:Value property is not applying when the property is not set in the instantiation of the class.

The BackGround color should be #FFFFFF when no value is set like this:

```auto
<float4 ux:Property="BackgroundColor" ux:Value="#FFFFFF" />

```

And instantiated as such:

```auto
<MyButton />

```

However the MyButton component has no background until I set it explicitly again in the instantiation like this:

```auto
<MyButton BackgroundColor="#FFF"/>

```

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [January 7, 2016, 12:32pm UTC](https://forums.fusetools.com/t/default-value-not-applying-for-custom-component-properties/5345/2 "2016-01-07T12:32:03Z")

</div>

Hi!

This is fixed but not rolled out yet. Please have a look here:

[https://www.fusetools.com/community/forums/permalink/2d6bfc0d-8829-4531-a63f-6e5985d89a1c](https://www.fusetools.com/community/forums/permalink/2d6bfc0d-8829-4531-a63f-6e5985d89a1c)
