Ауто -цифровой стимул

import { Controller } from "@hotwired/stimulus"
import AutoNumeric from "autonumeric"

// Connects to data-controller="autonumeric"
export default class extends Controller {
  connect() {
    new AutoNumeric(this.element)
  }
}
Emiliano López