MessageBox 的占位符文本

Placeholder text for MessageBox

我正在尝试通过提示为 MessageBox 中的文本区域应用占位符文本,但它似乎没有显示。

到目前为止,这是我的代码:

Ext.Msg.show({
            title: 'Approve Confirmation',
            message: 'Confirm to approve the selected items?',
            multiline: 'true',
            prompt:{
                placeHolder:"PLACEHOLDER TEXT HERE",
            },
            iconCls: 'fa fa-check-square-o',
            buttonText: {
                ok: 'Yes',
                cancel: 'No'
            },
            height:350,
            width:500,
            defaultTextHeight:210,
            fn:function(btn,text){
                //http processes
            }
        });

关于如何操作的任何提示?

设置TextArea的空文本属性,像这样:

var myMsg = Ext.Msg.show({
                title: 'Approve Confirmation',
                message: 'Confirm to approve the selected items?',
                multiline: 'true',
                prompt:{
                   placeHolder:"PLACEHOLDER TEXT HERE",
                },
                iconCls: 'fa fa-check-square-o',
                buttonText: {
                    ok: 'Yes',
                    cancel: 'No'
                },
                height:350,
                width:500,
                defaultTextHeight:210,
                fn:function(btn,text){
                       //http processes
             }
    });

    //Set emptyString
    myMsg .textArea.setEmptyText('My Message');