Prestashop Addict Posted April 4 Share Posted April 4 (edited) Hi, working on actionProductFormBuilderModifier hook to add custom fields to the new product page (v2). Everything working well. But in my custom forms fields with ProductFormModifier I use ajax. And didn't find any doc or sample in js how to populate event product sheet is modified, to enable Save button? Edited April 4 by Prestashop Addict (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 5 Author Share Posted April 5 (edited) I found the solution, if someone needs it: prestashop.instance.eventEmitter.emit('updateSubmitButtonState'); Edited April 5 by Prestashop Addict (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now