Repeater shows items connected to dataset on live, but not items I managed by code

Thanks, it worked. Strangely if I go on preview Mode from the settings (not the editor) it doesnt work though. I don’t know if I should do anything about it. Anyways thanks a lot.