If an extension is created with a script in a file, eg a Script Field, you can no longer edit that path.
Reproduction
Create a custom script field.
Switch to the file tab and enter the path to a script under a script root.
Save.
Edit, the view is locked on to the inline script view.