Hello guys,
First, thanks for the awesome module!
I was trying to use this module together with From API states, Ajax and it didn't work, because in a code you are merging "drupalSettings". After this action, you remove all other stuff which are in "drupalSettings" array. It was a problem to make it work together with Ajax.
I created a patch for this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | shs-fapi-states-ajax-bug-2923630-1.patch | 817 bytes | andpet |
Issue fork shs-2923630
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andpet commentedComment #3
andpet commentedComment #4
didebruWhen I try to set the shs field formatter I get an ajax error, patch unfortunately not fix this.
Comment #5
vasikei tried the patch and it seems it works ... i'll get back after more testing on this patch ... thanks
Comment #6
pierreemmanuel commentedHi,
I was able to use AJAX callback on a shs field, thanks to this patch. It was not called at all before applying.
Comment #8
pierreemmanuel commentedMerge request added to update the patch for release 2.0.4, exact same solution.
Comment #9
pierreemmanuel commentedComment #12
joseph.olstadComment #14
joseph.olstadhttps://www.drupal.org/project/shs/releases/2.0.4
https://www.drupal.org/project/shs/releases/3.0.0-beta5