# Make two-way binding default on a custom bindable

**URL:** <https://discourse.aurelia.io/t/make-two-way-binding-default-on-a-custom-bindable/2113>\
**Category:** Help Requests\
**Created:** [January 11, 2019, 8:56pm UTC](https://discourse.aurelia.io/t/make-two-way-binding-default-on-a-custom-bindable/2113 "2019-01-11T20:56:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djedi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/djedi/32/312_2.png) [@djedi](https://discourse.aurelia.io/u/djedi)\
**Post date:** [January 11, 2019, 8:56pm UTC](https://discourse.aurelia.io/t/make-two-way-binding-default-on-a-custom-bindable/2113/1 "2019-01-11T20:56:49Z")

</div>

Say I have a custom component with a `@bindable val`. Is it possible to make it so that if someone uses by component and adds `val.bind` that the `.bind` will default to `two-way` binding like it does with form components?

---

<div class="post-metadata">

**Author:** ![hiaux0](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@hiaux0](https://discourse.aurelia.io/u/hiaux0)\
**Post date:** [January 11, 2019, 9:24pm UTC](https://discourse.aurelia.io/t/make-two-way-binding-default-on-a-custom-bindable/2113/2 "2019-01-11T21:24:37Z")

</div>

Hi @djedi,  
[https://aurelia.io/docs/templating/custom-elements#bindable-properties](https://aurelia.io/docs/templating/custom-elements#bindable-properties)

```auto
  import {bindable, bindingMode} from 'aurelia-framework';
  
  export class SecretMessageCustomElement {
    @bindable({ defaultBindingMode: bindingMode.twoWay }) value;

```
