Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails disable submit button

<!-- Rails 4 Beta and above - Latest version 7.0.2.3 as of 8 March, 2022 -->

<%= form.submit "Save", id: "button_id", class: "button", data: {disable_with: "Submitting..."} %> 
 
PREVIOUS NEXT
Tagged: #rails #disable #submit #button
ADD COMMENT
Topic
Name
3+9 =