const writeOnlyDisabled =
    !hasUpdatePermission ||
    // Form is clean and the environment is currently locked or read only
    (touched && (selectedInstance.locked || selectedInstance.readOnly)) ||
    watch('locked') ||