Snippet Field Edit Modal

<sw-snippet-field-edit-modal>

ready
The modal component used to edit snippet values in ``.

Usage

<sw-snippet-field-edit-modal
:snippets="snippets"
:snippetSets="snippetSets"
:translationKey="snippet"
:fieldType="fieldType"

Component properties

Property name Type Default
snippets Array
snippetSets Array
translationKey String
fieldType String

Methods

Method name Parameters
createdComponent No parameters
closeModal No parameters
getNoPermissionsTooltip role
onSave No parameters

Imports

  • src/core/helper/sanitizer.helper
  • ./sw-snippet-field-edit-modal.html.twig

Inject

  • snippetService
  • acl

Twig blocks

  • sw_snippet_field_edit_modal_name_field
  • sw_snippet_field_edit_modal_snippet_fields
  • sw_snippet_field_edit_modal_body
  • sw_snippet_field_edit_modal_close_button
  • sw_snippet_field_edit_modal_footer
  • sw_snippet_field_edit_modal