#197 ✓resolved
Eric Böhnisch-Volkmann

CPTextField in toolbar seems not to work

Reported by Eric Böhnisch-Volkmann | January 14th, 2009 @ 03:55 AM

I have placed a CPTextField into the toolbar to act like a search field in Mac OS X apps. It worked in 0.5.5 but stopped working in 0.6 and higher. When the user enters some text and presses the Return key the target method is called but the entered string is neither placed in stringValue nor in objectValue. If a placeholderText is defined or I pre-fill the stringValue with setStringValue I only get this back but never the text entered by the user. I have placed my code for the toolbar item here: http://gist.github.com/46857

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages