# Au 2.0: Do we not have defaultBindingMode on @customElement?

**URL:** <https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558>\
**Category:** Framework Knowledge\
**Created:** [December 23, 2025, 6:14am UTC](https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558 "2025-12-23T06:14:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![estaylorco](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/estaylorco/32/1887_2.png) [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Post date:** [December 23, 2025, 6:14am UTC](https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558/1 "2025-12-23T06:14:29Z")

</div>

Hello,

On my Devextreme wrappers, I have this _ad infinitum:_

```javascript
...
@bindable({ mode: BindingMode.twoWay }) accessKey = undefined;
@bindable({ mode: BindingMode.twoWay }) activeStateEnabled = true;
@bindable({ mode: BindingMode.twoWay }) buttons = undefined;
@bindable({ mode: BindingMode.twoWay }) disabled = false;
@bindable({ mode: BindingMode.twoWay }) elementAttr = {};
@bindable({ mode: BindingMode.twoWay }) focusStateEnabled = true;
@bindable({ mode: BindingMode.twoWay }) height = undefined;
@bindable({ mode: BindingMode.twoWay }) hint = undefined;
@bindable({ mode: BindingMode.twoWay }) hoverStateEnabled = true;
@bindable({ mode: BindingMode.twoWay }) inputAttr = {};
@bindable({ mode: BindingMode.twoWay }) isDirty = false;
...

```

I see `defaultBindingMode` for custom attributes, but not for custom elements. I would like to be able to do this:

```javascript
@customElement({
  name: 'tsi-dx-text-box',
  template: null,
  processContent(node, _, instructionData) {
    return harvestDxTemplates(node, _, instructionData);
  },
  defaultBindingMode: BindingMode.twoWay
})

```

Am I missing it somewhere?

---

<div class="post-metadata">

**Author:** ![bigopon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/bigopon/32/18_2.png) [@bigopon](https://discourse.aurelia.io/u/bigopon)\
**Post date:** [December 23, 2025, 11:03am UTC](https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558/2 "2025-12-23T11:03:57Z")

</div>

@estaylorco no you are not missing it. Having a default binding mode on element was deemed not enough sense since there’s no really default bindable properties, unlike attribute, where you always at least have `value`.

From your example, it kind of makes sense that custom element can have a default mode config too, maybe let’s create a feature request on Github?

---

<div class="post-metadata">

**Author:** ![estaylorco](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/estaylorco/32/1887_2.png) [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Post date:** [December 23, 2025, 5:01pm UTC](https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558/3 "2025-12-23T17:01:37Z")

</div>

Done: [Add defaultBindingMode to @customElement/CustomElementDefinition (in symmetry with custom attributes) · Issue #2328 · aurelia/aurelia · GitHub](https://github.com/aurelia/aurelia/issues/2328) .
