i have to admit i am more in the angular typescript area. but i thought that it is certainly possible to simply insert a script part into an erb file in which you can perform simple split operations of strings. unfortunately this does not work. is such a thing even possible in erb? because some sources refer to tags in erb files. however, this has no effect on me.
i want to include this script part in the ticket-update.erb file, if such a thing is possible at all. here i want to split the string as already mentioned.