-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1240 from dpc-sdp/bugfix/dropdown-count
[R20-1433] improve accuracy of more count for dropdowns
- Loading branch information
Showing
8 changed files
with
116 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
packages/ripple-ui-forms/cypress/support/components/RplFauxForm.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<script setup lang="ts"> | ||
import { ref } from 'vue' | ||
import { RplIconSprite } from '@dpc-sdp/ripple-ui-core/vue' | ||
interface Props { | ||
component: any | ||
componentProps: any | ||
} | ||
const props = defineProps<Props>() | ||
const value = ref(props.componentProps?.value) | ||
const handleChange = (val: string) => (value.value = val) | ||
</script> | ||
|
||
<template> | ||
<div class="rpl-faux-form"> | ||
<RplIconSprite style="display: none" /> | ||
<component | ||
:is="component" | ||
v-bind="componentProps" | ||
:value="value" | ||
@onChange="handleChange" | ||
/> | ||
</div> | ||
</template> | ||
|
||
<style> | ||
.rpl-faux-form { | ||
padding: var(--rpl-sp-5); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters