make the field support msgStyle and msgWrapper