Re: [Pharo-users] Spec: DropList question

2016-10-10 Thread Peter Uhnak
You can just provide `nil` as the first option, e.g. ui := DynamicComposableModel new. ui instantiateModels: #(select DropListModel). ui select items: #(nil a b c); displayBlock: [ :each | each ifNil: [ '' ] ifNotNil: #asString ]. layout := SpecLayout composed add: #sele

[Pharo-users] Spec: DropList question

2016-10-09 Thread Brad Selfridge
Is there any way for the Spec DropList, when initially painted, to NOT display the first item in the list. I'm trying to build a dynamic spec window that uses the droplist value to determine what to paint and I want the user to select the droplist item rather than a default. Thanks, - B