Confirm Field

<sw-confirm-field>

ready
Text field with additional confirmation buttons inlined in the field itself.

Usage

Loading...
<sw-confirm-field placeholder="Enter value..."></sw-confirm-field>

Component properties

Property name Type Default
value String
compact Boolean false
preventEmptySubmit Boolean false
required Boolean false

Methods

Method name Parameters
removeActionButtons No parameters
onStartEditing No parameters
onBlurField
cancelSubmit No parameters
onCancelFromKey
onCancelSubmit No parameters
submitValue No parameters
onSubmitFromKey
onSubmitValue No parameters

Imports

  • ./sw-confirm-field.html.twig
  • ./sw-confirm-field.scss

Watcher

  • value

Twig blocks

  • sw_confirm_field_input_field
  • sw_field_inline_cancel_submit_button_icon
  • sw_confirm_field_cancel_button
  • sw_field_inline_submit_button_icon
  • sw_confirm_field_confirm_button
  • sw_confirm_field_button_list
  • sw_confirm_field