The field for entering the creditcard number should auto insert a space, after 4 entered numbers.
This could be accomplished by creating an angular directive which is bound on the change request of the input field. Then by a simple check of the input string, we can determine if we require an additional space.
The field for entering the creditcard number should auto insert a space, after 4 entered numbers.
This could be accomplished by creating an angular directive which is bound on the change request of the input field. Then by a simple check of the input string, we can determine if we require an additional space.