Cant Make Texture Array node a parameter. Need to use Texture Array in a dynamic material instance.

I am creating a texture array at runtime, and i need to assign that texture array to a dynamic material instance at runtime.
The problem is, I cant make a texture array shader node into a parameter. When I try click “convert to parameter” in the shader editor, Nothing happens.
What Should I do? Any ideas for solution or work arounds are most appreciated.