How to accept masked input

If you are willing to write a hack using some html, CSS and javascript, then you Can get inspiration here. Awesome-streamlit.org Change Log