Trigger event "field-change" for FileField #4926
Replies: 4 comments
-
What's your use-case for this? |
Beta Was this translation helpful? Give feedback.
-
I have a resource for Podcasts and I would like to extract the duration of the audio to populate the field |
Beta Was this translation helpful? Give feedback.
-
So the event has to emit the full file? Other field changes event just send scalar values (mostly string/array etc). |
Beta Was this translation helpful? Give feedback.
-
Yes @crynobone, for example in my case, to be able to use |
Beta Was this translation helpful? Give feedback.
-
Hi,
Most of the fields trigger an event
Nova.$emit(this.field.attribute + '-change'...
when there is a change to the input, but it is not the case forFileField
, there are some events when usingVaporFile
, but I think should emit an event forFileField
as well.Best regards,
Leandro Isotton
Beta Was this translation helpful? Give feedback.
All reactions