I found that the issue was actually with the UInput
component. This has been resolved in @nuxt/ui v2.18.5. After updating to this version, the file name displays correctly on the first selection and when switching file types, even without needing the extra ref
. Simply update @nuxt/ui
to v2.18.5 or later to fix this issue.