macostextfieldmacos-sierransnotification

Text field only allowing 1 character at a time on macOS 10.12


My app was working fine for years, but now, when a user tries to input some text inside the text field, it only takes the first character and then exits the field.

This is very annoying. I've been searching for weeks. I've Googled this, no one seems to have that problem but me.

The log shows that controlTextDidChange: is being called, but I have no code that relates to this field.

Has anything changed in 10.12 and I'm not aware of ? Apple's documentation does not mention any changes for this method.

Thanks!


Solution

  • Alright, finally found the answer. In the Bindings, the "Continuous update value" was selected for the Value Binding with the Array Controller. I guess it had a different behaviour in past OS versions. All is well now. Took me months to find this!!