Unable to edit settings for agent policy

I am trying to install an elastic agent on an apache web server. The problem is that the server is outside my system's network.
In order to make it work, I added an output in the fleet settings which should send data to my public ip, and then data will be redirected to elasticsearch.
But once I try to modify the output for integrations in the agent policy settings, I can see the new output but I am not able to select it. Not even the default one.

do you guys have any solution?