Skip to content

Commit

Permalink
Merge pull request Expensify#44104 from neonbhai/feedback-survey-form…
Browse files Browse the repository at this point in the history
…-fix

Fix: "common.error.pleaseCompleteForm" is shown when submitting empty survey
  • Loading branch information
carlosmiceli authored Jun 24, 2024
2 parents 0176052 + 34128d0 commit 2026f62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FeedbackSurvey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function FeedbackSurvey({title, description, onSubmit, optionRowStyles}: Feedbac
<FormAlertWithSubmitButton
isAlertVisible={shouldShowReasonError}
onSubmit={handleSubmit}
message="common.error.pleaseCompleteForm"
message={translate('common.error.pleaseCompleteForm')}
buttonText={translate('common.submit')}
enabledWhenOffline
/>
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default {
enterAmount: 'Introduce un importe.',
enterDate: 'Introduce una fecha.',
invalidTimeRange: 'Por favor, introduce una hora entre 1 y 12 (por ejemplo, 2:30 PM).',
pleaseCompleteForm: 'Por favor complete el formulario de arriba para continuar..',
pleaseCompleteForm: 'Por favor complete el formulario de arriba para continuar.',
},
comma: 'la coma',
semicolon: 'el punto y coma',
Expand Down

0 comments on commit 2026f62

Please sign in to comment.