 
             textDisplay.addEventListener(FlexEvent.ENTER,
                                          textDisplay_enterHandler);
+
+            textDisplay.addEventListener(FlexEvent.VALUE_COMMIT,
+                                         textDisplay_valueCommitHandler);
         }
     }
 


        super.focusInHandler(event);
    }
    
    /**
     *  @private
     */
    override protected function focusOutHandler(event:FocusEvent):void
    {        
        super.focusOutHandler(event);

        // Trigger validation when leaving the field to test for required
        // fields and invalid values.
        dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
    }
    
    //--------------------------------------------------------------------------
    //
    //  Event handlers


            textDisplay.removeEventListener(FlexEvent.ENTER,
                                            textDisplay_enterHandler);

            textDisplay.removeEventListener(FlexEvent.VALUE_COMMIT,
                                            textDisplay_valueCommitHandler);
        }
    }
    
