Trying to do an input in a form where it will change while I am introducing characters
How can I do that an input in a simple_form_for changes while I am introducing a value, and the input comes with the $ by default, for example, I have the number 1000000, and while I am introducing this value it will get the comma every time that it must be, like this $1,000,000. I need to use Stimulus.