(), {
isLoading: false,
});
+const loadingProps = {
+ show: props.isLoading,
+};
+
// CSS class map
const classes = reactive({
'pdap-button': true,
diff --git a/src/components/Button/__snapshots__/button.spec.ts.snap b/src/components/Button/__snapshots__/button.spec.ts.snap
index 81e4c8c..50312ba 100644
--- a/src/components/Button/__snapshots__/button.spec.ts.snap
+++ b/src/components/Button/__snapshots__/button.spec.ts.snap
@@ -2,9 +2,6 @@
exports[`Renders button component > Renders a button 1`] = `
`;
diff --git a/src/components/QuickSearchForm/__snapshots__/quick-search-form.spec.ts.snap b/src/components/QuickSearchForm/__snapshots__/quick-search-form.spec.ts.snap
index e7bb364..22c987e 100644
--- a/src/components/QuickSearchForm/__snapshots__/quick-search-form.spec.ts.snap
+++ b/src/components/QuickSearchForm/__snapshots__/quick-search-form.spec.ts.snap
@@ -28,10 +28,7 @@ exports[`QuickSearchForm component > Renders a QuickSearchForm 1`] = `
For example, you could search for stops in Pittsburgh or complaints everywhere .
diff --git a/src/demo/pages/FormV2Demo.vue b/src/demo/pages/FormV2Demo.vue
index 5f3c3fc..e1efd18 100644
--- a/src/demo/pages/FormV2Demo.vue
+++ b/src/demo/pages/FormV2Demo.vue
@@ -60,7 +60,7 @@
:rows="5"
/>
-
+
@@ -73,6 +73,15 @@ import { InputCheckbox } from '../../components/InputCheckbox';
import { InputPassword } from '../../components/InputPassword';
import { InputSelect } from '../../components/InputSelect';
import PdapInputTextArea from '../../components/InputTextArea/PdapInputTextArea.vue';
+import { onMounted, ref } from 'vue';
+
+const mockLoading = ref(true);
+
+onMounted(() => {
+ setTimeout(() => {
+ mockLoading.value = false;
+ }, 5000);
+});
const INPUT_CHECKBOX_NAME = 'ice-cream';
const INPUT_TEXT_PLACEHOLDER = 'Paul';