# Keyword Binding .one-way not work in Aurelia 2

**URL:** <https://discourse.aurelia.io/t/keyword-binding-one-way-not-work-in-aurelia-2/6402>\
**Category:** Help Requests\
**Created:** [April 5, 2025, 4:02pm UTC](https://discourse.aurelia.io/t/keyword-binding-one-way-not-work-in-aurelia-2/6402 "2025-04-05T16:02:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kofranek](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/kofranek/32/2612_2.png) [@kofranek](https://discourse.aurelia.io/u/kofranek)\
**Post date:** [April 5, 2025, 4:02pm UTC](https://discourse.aurelia.io/t/keyword-binding-one-way-not-work-in-aurelia-2/6402/1 "2025-04-05T16:02:19Z")

</div>

I’m a new user of Aurelia.  
so I started following the documentation, and right at the beginning, I found that in “chapter 2. Keyword Binding” there is an example where the binding keyword .one-way doesn’t work:

Examples of Keyword Binding

my-app.htm:  
…

...

my-app.ts:  
export class MyApp {  
…  
lastName = ‘Doe’;  
…  
}

Can someone from the community help me explain this?  
Thanks

---

<div class="post-metadata">

**Author:** ![elmt1](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/elmt1/32/2687_2.png) [@elmt1](https://discourse.aurelia.io/u/elmt1)\
**Post date:** [April 9, 2025, 8:04am UTC](https://discourse.aurelia.io/t/keyword-binding-one-way-not-work-in-aurelia-2/6402/2 "2025-04-09T08:04:13Z")

</div>

> [@kofranek](#):
>
> “chapter 2. Keyword Binding”

I think it would help to include a link to chapter 2 to understand whether you are refering to an outside resource or the Aurelia documentation, also which version, Aurelia1 or Aurelia2. I have used one-way and one-time quite a bit in Aurelia and it has worked, but one thing that caught me was that variable references had to change when moving from Aurelia1 to Aurelia2
