How to set a custom format number input