refactor: update generated id method on DesignTokenField

pull/7007/merge
Mert Sincan 2025-01-14 11:51:31 +00:00
parent 64abe112a9
commit 8bd40edf49
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
</template>
<script>
import { UniqueComponentId } from '@primevue/core/utils';
import { uuid } from '@primeuix/utils';
import { $dt } from '@primevue/themes';
export default {
@ -85,7 +85,7 @@ export default {
};
},
created() {
this.id = 'dt_field_' + UniqueComponentId();
this.id = uuid('dt_field_');
},
methods: {
onOptionSelect(event) {