Generally, we warn against using the page templates API to change content within the prompt itself (doesn’t mean it’s not possible, just that it may break unexpectedly). I think this would fall within that scope.
Also, be aware that disabling editing of the email field wouldn’t necessarily prevent a user from manually passing a request with a different email (i.e. this shouldn’t be used as a security measure).
@dan.woda I appreciate your response. However, my main question was how to dynamically disable update of the email field in the signup-password screen if login_hint has been set. This email is pre-populated using login_hint for application specific purposes and we wouldn’t want the user to change it to something else. Could you guide me on that?
There is currently no feature to disable the “edit” button, and implementing it with page templates would be not recommended (as I mentioned, we don’t recommend editing anything within the prompt itself).
Feel free to submit a feature request in our Feedback category.