SelectEntity, a new widget for Spec

When using data entry applications,
we often have to select one entity out of a large list.
Spec provides the entryCompletion option for text fields for that.
That works well for small lists
When the number of different entities grows large however,
or when we want to be able to add a new entity,
the traditional solution is to combine an entry completion field
with a button that opens a dialog. This is what SelectEntity provides.
In addition, it supports limiting the choices shown based on
the context in which the field is shown.

https://vimeo.com/158063568

I’ve created a small demo application that can be found on smalltalkhub:

Gofer it
smalltalkhubUser: ‘StephanEggermont’
project:’Ancestry’;
package: ‘Ancestry’;
load.

It can be started with:

ANPersonList new openWithSpec.

Stephan

Thanks to Peter Uhnak for the design comments & debugging

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: