Renders a form step control button in FormStepsControls component.

Basic Usage

<FormStepsControl> component can be used in <FormStepsControls> component after setting its labels option to false:

    <template #empty>
        <!-- ... -->

      <FormStepsControls :labels="false">
        <FormStepsControl type="next">
          Next ยป

Configuration options can be passed over as regular component props. Check out Options section for available configuration options.


Find below the list of options that can use to configure FormStepsControl component. Options can be passed to the component via props.


  • Type: string
  • Required: true
<FormStepsControlElement type="previous" ... />
<FormStepsControlElement type="next" ... />
<FormStepsControlElement type="finish" ... />

The type of the step control. Possible values are 'previous', 'next' and 'finish'.


  • Type: string
<FormStepsControl view="alt" ... />

The name of the view to be used for the component. If undefined the default view will be used.

Learn more about views here.


All the data, computed and inject properties of the component.


  • Type: string|component
  • Group: computed

The label of the component. If the label is provided as a function this contains the resolved value.


  • Type: boolean
  • Group: computed

Whether the control should be visible.


  • Type: boolean
  • Group: computed

Whether the control should be disabled.


  • Type: boolean
  • Group: computed

Whether the control is in loading state (except for previous).


  • Type: component
  • Group: inject

The size of the component.


  • Type: string
  • Group: computed

The name of the resolved view for the component. This one should be used to determine the component's view in class functions.


  • Type: object
  • Group: computed

The component's template.


  • Type: object
  • Group: computed

The component's classes.


  • Type: object
  • Group: inject

The global theme object, which contains all the default templates and classes.


  • Type: component
  • Group: inject

The root form's component.


The methods of the component.


  • Returns: void

Complete the final step and submit the form (async).


  • Returns: void

Complete the current step and go to the next one (async). If the form's validateOn prop or config.validateOn contains 'step' also validates the elements within the step before moving forward (and stay if there's any error).


  • Returns: void

Go to the previous form step.


The slots of the component.


Renders the text of the control button.

๐Ÿ‘‹ Hire Vueform team for form customizations and development Learn more