Re: Bound NSTextField displays Selection Placeholder instead of Null Placeholder
Re: Bound NSTextField displays Selection Placeholder instead of Null Placeholder
- Subject: Re: Bound NSTextField displays Selection Placeholder instead of Null Placeholder
- From: Quincey Morris <email@hidden>
- Date: Fri, 28 Dec 2012 21:37:34 -0800
On Dec 28, 2012, at 20:53, Keary Suska <email@hidden> wrote:
> in my case it only happens when the there is a value before the window is shown, but then cleared, but not exited.
Just to clarify, are you saying that when you delete the field's contents it displays the No Selection marker, and then if you press Return it immediately displays the Nil marker?
> So, the value isn't even being changed in the model and I have verified that the controller isn't even queried about the model value's state. Therefore, the controller is *not* returning the no selection marker, but somehow the field editor is getting confused.
What happens if you tab out of the text field, while it's still empty, then tab back into it? If it does the right thing this time, that might suggest that the field editor is being configured too early, before the array controller has in fact initialized its selection.
What does it display initially if you simply unbind the text field? Bind it to a property that's nil?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden