Skip to content

Commit bd570f7

Browse files
authored
Add default success message (#128)
1 parent e75c83f commit bd570f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/FlowForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
v-if="!submitted"
4747
v-html="language.formatString(language.pressEnter)">
4848
</a>
49+
<p class="text-success" v-if="submitted">{{ language.successText }}</p>
4950
</slot>
5051
</div>
5152
</div>

src/models/LanguageModel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default class LanguageModel {
2424
this.percentCompleted = ':percent% completed'
2525
this.invalidPrompt = 'Please fill out the field correctly'
2626
this.thankYouText = 'Thank you!'
27+
this.successText = 'Your submission has been sent.'
2728
this.ariaOk = 'Press to continue'
2829
this.ariaRequired = 'This step is required'
2930
this.ariaPrev = 'Previous step'

0 commit comments

Comments
 (0)