swiftmacosnstextfieldnspopupbuttonnsdatepicker

Can't take focus off NSTextField and select other NSTextFields


I am having a bit of a problem with the UI/data entry part of my macOS application. In my application I have 6 NSTextFields, 1 NSDatePicker and 1 NSPopupButton. After typing in one NSTextField (specifically the one assigned to an outlet called "itemDescriptionField" in my code) It will not allow me to select other text fields or the date picker. The code can be found at:

https://github.com/Macintoshuser2/Inventory-Manager-macOS-Swift

How can I go about resolving this?


Solution

  • The description field has a number formatter. Type numbers or remove the number formatter.