Sha256: f17865a0f77f5141e7dccac044c080c4e9e75fef682ef2291c1a989db3f45495

Contents?: true

Size: 175 Bytes

Versions: 18

Compression:

Stored size: 175 Bytes

Contents

import { Controller } from "@hotwired/stimulus"

export default class extends Controller {
  submit(event) {
    event.preventDefault()
    this.element.requestSubmit()
  }
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
refine-rails-2.12.0 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.12 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.11 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.10 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.9 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.8 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.6 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.5 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.4 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.3 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.2 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.1 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.11.0 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.10.1 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.10.0 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.9.14 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.9.13 app/javascript/controllers/refine/submit-form-controller.js
refine-rails-2.9.12 app/javascript/controllers/refine/submit-form-controller.js