afterschoolstudio / Depot

Structured data editor built inside VS Code
Apache License 2.0
186 stars 19 forks source link

Pick images/files works only on first line. #66

Open Lucat79 opened 5 months ago

Lucat79 commented 5 months ago

https://github.com/afterschoolstudio/Depot/assets/34570632/75f35e12-5914-4cfb-aaa5-b0c9ebff3346

kkukshtel commented 5 months ago

@andrewstart Any chance you could look at this as well and see if it's related to a similar issue as the one you found in Grid? Clicking the button opens up the selector properly but the target is mismatched on return so bugs out. I'm wondering if the issue is similar where the field is initied with a bad reference, and when the image returns for validation at the path it fails because it is mismatched.

To temporarily get around this @Lucat79 you can also manually update the underlying json file with the file path.

Lucat79 commented 5 months ago

i solved temporary by updading bundle.js like that. I am waiting for the new version and hope the bug is fixed. (don't mind the ok variable... it was just for a breackpoint setting) image