Thanks for the small demo code.

I had a bug in the data() implementation where I did not pay enough attention to the role.

THX