Level 80
@vincent15000 It completely depends on what “this” refers to.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
The documentation shows how to access to a ref value.
const title = ref('my first super title')
title.value = 'my second super title'
this.title = 'my third super title'
this.title seems to work, I just tested it with pinia.
So is there really two ways to access to the value .value and this. ?
I specify that I have tested both in composition API mode.
Thanks for your answer.
V
@martinbean Sorry it was an error from me. return didn't expose the can_create property.
Please or to participate in this conversation.