Added custom props support for text field