sage-directives
sage-directives copied to clipboard
fix(directive): Fix @image directive not re-compiling view when using ACF field
When using @image directive with an ACF field name, the Blade view was not re-compiling after updating field value. This PR fixes this bug by moving the get_field call directly into the Blade echo rather than passing the field value.
Closes #117
@Log1x is there anything I can do to help get this ready for inclusion in the next release? It's my first public PR so open to any feedback if it needs anything changing.
The underlying issue on this was a little more complicated and was hopefully fixed in #144