'Make input text accept numeric percent only Angular

How to make text input only accept percent values? Is there a way to do that by deleting non numeric values and adding ' %' at the end.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source