Apologies for not being clear in my mail. The key is that the UI is being
opened as a dialog box, generating the OK and Cancel buttons. All this logic is
explained in the section "Opening a dialog box and its configuration options”.
This also talks about configuring what to do when these buttons
Read the chapter. Being new to Spec, I'm still confused because I don't see
clear evidence in the chapter that would fix the problems that are occurring
in the InputWidget.
I did, however, read your documentation referring to the TextFieldInputModel
example. After reading that, I created a TextPr
Hi Brad,
the magic of the OK and Cancel buttons is due to the opening of the UI with
openDialogWithSpec (instead of openWithSpec).
There is info on that in the Spec documentation, in the ‘Managing Windows’
chapter (which I finished last week :-) ). You can find a pdf of that chapter
here:
htt
2016-09-06 23:14 GMT+02:00 Brad Selfridge :
> I've been trying for several days to get the Spec InputWidget to work as
> expected. I've been running the "example2" example. If you enter text in
> the input field and press the "enter" key, then the input text is returned.
> But, if you click the "
I've been trying for several days to get the Spec InputWidget to work as
expected. I've been running the "example2" example. If you enter text in
the input field and press the "enter" key, then the input text is returned.
But, if you click the "Ok" button rather than "enter" key, then the input
te