Disabled TextInput loses textFormat

I have TextInput with formatting applied. I want the TextInput disabled after the user enters an answer. But disabling the field causes the formatting to disappear. Is there a way to maintain text formatting and still disable the input???

 
import fl.controls.TextInput;
var myTextInput:TextInput = new TextInput();
myTextInput.move(100, 100);
addChild(myTextInput);
var myFormat:TextFormat= new TextFormat("_sans", 14, 0x0000FF, true, false, false, '', '', TextFormatAlign.CENTER, 0, 0, 0, 0);
myTextInput.setStyle("textFormat", myFormat);
 
myTextInput.addEventListener(Event.CHANGE, checkAnswer);
 
function checkAnswer(event:Event):void{
    trace("check");
    myTextInput.enabled=false;
 }