I think I already know the answer to this... but w...
# adobe
r
I think I already know the answer to this... but wanted to make sure it wasn't just me doing something incorrectly... In ACF Components, is there a way to use
invokeImplicitAccessor
and
onMissingMethod
together? I.e. define a property on a component, then call component.property (which with implicit accessors would call
getProperty()
), and have that call be handled by the
onMissingMethod
? It seems like the answer is "no". My attempts have yielded "element is undefined" errors when using the dot notation unless I explicitly define the getter method in the component.
I thought of a different way to handle the specific situation I was encountering, so this isn't as important now, though would still be interesting to know why it doesn't seem to work...