Closed (won't fix)
Project:
Commerce Core
Version:
8.x-2.15
Component:
Checkout
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2019 at 20:49 UTC
Updated:
26 Jun 2026 at 09:56 UTC
Jump to comment: Most recent
Comments
Comment #2
bojanz commentedThat is a general Drupal question that is outside the scope of this issue queue, sorry.
Generally, the form element depends on the theme, I know Bootstrap uses regular buttons.
Comment #3
scottsawyerAccording to the Drupal Docs
So, if my understanding is correct, even if you go through the trouble of changing "submit" to "button", it won't work.
Comment #4
selinav commentedIf anyone knows how to do, please give me the tip.
Thank you
Comment #5
scottsawyer@selinav, this would likely take altering the form, unsetting the #submit, adding a #button with an ajax command. i.e. it's not trivial.
Comment #6
anybodyRelated core issue: #1671190: Use <button /> form element type instead of <input type="submit" />