the old script was not working, this script is the one passed to Rails FE and when used in SPA it works
sadly the script only works when i get the correct data-ids from the rails admin script, but it changes dynamically, i dont know how to get the new value everytime
the old script was not working, this script is the one passed to Rails FE and when used in SPA it works
sadly the script only works when i get the correct data-ids from the rails admin script, but it changes dynamically, i dont know how to get the new value everytime