In the sample project from SwiftUI Tutorial - Creating a macOS App, - https://developer.apple.com/tutorials/swiftui/creating-a-macos-app when you toggle the favorite button on landmark detail view (macOS version), the Landmark command is disabled because \.selectedLandmark on FocusValues is somehow reset to nil by PlainButtonStyle().
Tested with BorderedButtonStyle() and didn't find the problem.