Created custom TextField for units