> use dataset to keep your properties

ok

> isn't it possible to keep the current placeholder in a variable instead of having to loop here ?

I guess... the view is regularly creating new placeholders, so it would require updating logic elsewhere.