The skill below is used to create a simple form containing a string field with a modifyCallback.
Eveything goes fine writing in the string field, but when the callback generates an error (artificially reproduced typing "abc") the form is locked and "OK"/"Cancel" buttons can't be used anymore. Once this happens, even if the form is invoked again or it is set to 'unbound in the CIW, the issue persists.
Could someone be so kind and explain me why this wrong behaviour?
hiCreateStringField(?name 'myString ?prompt "->" ?modifyCallback
"matchCB" ?editable t) 10:10 200:20 100 ))
procedure(matchCB( @rest arg)
equal(stringItem "abc") then
%s \n" ) ;;;; ERROR
HERE, it locks the form
world %s \n" stringItem)
t ;any value is allowed in the string field
It looks like a bug. I'll create a service request and a CCR for this (I think I know which "Danilo P" you are).