class Ariadne::Forms::Dsl::SubmitButtonInput
:nodoc:
def initialize(name:, label:, **options, &block)
def initialize(name:, label:, **options, &block) @name = name @label = label @block = block super(**options) end
def supports_validation?
def supports_validation? false end
def to_component
def to_component html_attrs = @input_attributes || {} Ariadne::UI::Button::Component.new(type: :submit, **@options, html_attrs: html_attrs).with_content(@label) end
def type
def type :submit_button end