How to validate user input via client side javascript

I am new to Dash, wants to validate user input through client-side javascript. for example. to validate the value entered by an user in the dbc.Input component must be numeric digits. If not, then an user should be alerted accordingly.

That is possible via clientside callbacks,

https://dash.plotly.com/clientside-callbacks

Thanks, I got it, it works.