Adds IDs for each button in the item submission block.
This commit is contained in:
parent
122e4aa9b8
commit
df963f1e4e
|
@ -612,6 +612,7 @@
|
|||
style="margin-right: auto;">
|
||||
<button
|
||||
@click="onDiscard()"
|
||||
id="tainacan-item-submission-block-button--cancel"
|
||||
type="button"
|
||||
class="wp-block-button__link wp-element-button">
|
||||
{{ $i18n.get('cancel') }}
|
||||
|
@ -622,6 +623,7 @@
|
|||
class="wp-block-button">
|
||||
<button
|
||||
@click="onPreviousStep()"
|
||||
id="tainacan-item-submission-block-button--previous"
|
||||
type="button"
|
||||
class="wp-block-button__link wp-element-button">
|
||||
{{ $i18n.get('previous') }}
|
||||
|
@ -632,6 +634,7 @@
|
|||
class="wp-block-button">
|
||||
<button
|
||||
@click="onNextStep()"
|
||||
id="tainacan-item-submission-block-button--next"
|
||||
type="button"
|
||||
class="wp-block-button__link wp-element-button">
|
||||
{{ $i18n.get('next') }}
|
||||
|
@ -642,6 +645,7 @@
|
|||
class="wp-block-button">
|
||||
<button
|
||||
:disabled="showTermsAgreementCheckbox && !userHasAgreedToTerms"
|
||||
id="tainacan-item-submission-block-button--submit"
|
||||
@click="onSubmit()"
|
||||
type="button"
|
||||
class="wp-block-button__link wp-element-button">
|
||||
|
|
Loading…
Reference in New Issue