refactor: update generated id method on DesignTokenField
parent
64abe112a9
commit
8bd40edf49
|
@ -47,7 +47,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { UniqueComponentId } from '@primevue/core/utils';
|
import { uuid } from '@primeuix/utils';
|
||||||
import { $dt } from '@primevue/themes';
|
import { $dt } from '@primevue/themes';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -85,7 +85,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.id = 'dt_field_' + UniqueComponentId();
|
this.id = uuid('dt_field_');
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onOptionSelect(event) {
|
onOptionSelect(event) {
|
||||||
|
|
Loading…
Reference in New Issue