Just noticed this but the example shows a bug where there are multi tabs and each tab has a file field.
The first file field you use is working.
Now choose different tab and choose image for the file field there and it's input field is not being filled. Instead the url being filled in the first file field you used in the other tab.