Skip to content

Commit

Permalink
Merge pull request #1218 from dpc-sdp/feature/content-rating-feedback
Browse files Browse the repository at this point in the history
fix(@dpc-sdp/ripple-tide-landing-page): content rating success icon
  • Loading branch information
dylankelly authored Jun 14, 2024
2 parents 5e20780 + 41880b7 commit eab5efc
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script setup lang="ts">
import { FormKitSchemaNode } from '@formkit/core'
import { computed, nextTick, ref, watch } from 'vue'
import { RplFormAlert } from '@dpc-sdp/ripple-ui-forms'
interface Props {
title?: string
Expand All @@ -26,7 +25,7 @@ const honeypotId = `${props.formId}-important-email`
const { submissionState, submitHandler } = useWebformSubmit(props.formId)
const serverSuccessRef = ref<typeof RplFormAlert>(null as any)
const serverSuccessRef = ref(null)
// Scroll to and focus on success and error messages when they appear
watch(
Expand All @@ -53,7 +52,7 @@ const submitted = computed(() => submissionState.value.status === 'success')
<RplFormAlert
v-if="hideFormOnSubmit && submitted"
ref="serverSuccessRef"
:status="submissionState.status"
status="success"
:title="submissionState.title"
data-component-type="form-server-message"
:restrictWidth="true"
Expand Down

0 comments on commit eab5efc

Please sign in to comment.