7.1.5 ee('CP/FilePicker') produced button throw's a JavaScript exception: Uncaught ReferenceError: FileField is not defined #2390
Labels
Bug: Accepted
Bug has been confirmed, is reproducible, and ready to work on.
In my field type, I use a native file picker dialog, which I have done since EE 3 with
ee('CP/FilePicker')
However, in EE 7.1.5, this appears to be broken as the JavaScript appears to be looking for a FileField? I don't know, it's hard to tell because it's minified JS and I find debugging JS I didn't write to be hard to debug in any event.Here’s my code to produce the file picker link:
That code works in EE 6 and previous but fails in EE 7:
Here it is working in EE 6:
If I need to do something different in EE 7 let me know, but since the
CP/FilePicker
still exists I would expect it to still work?The text was updated successfully, but these errors were encountered: