edvoyui-component-library-test-flight 0.0.218 → 0.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/select/EUISelect.vue +4 -2
- package/dist/edvoy-ui.cjs.js +1 -1
- package/dist/edvoy-ui.css +1 -1
- package/dist/edvoy-ui.es.js +12 -12
- package/dist/edvoy-ui.umd.js +2 -2
- package/package.json +1 -1
|
@@ -295,8 +295,10 @@ type VirtualElement = {
|
|
|
295
295
|
|
|
296
296
|
const showPlaceholder = computed(() => {
|
|
297
297
|
const label = props.placeholder || `Select ${name}`;
|
|
298
|
-
|
|
299
|
-
|
|
298
|
+
// Only surface the required marker in the placeholder when there's no label,
|
|
299
|
+
// otherwise it duplicates the asterisk the label already renders.
|
|
300
|
+
const labelReq = props.required && !props.label ? "*" : "";
|
|
301
|
+
return `${label} ${labelReq}`.trim();
|
|
300
302
|
});
|
|
301
303
|
|
|
302
304
|
const startCaseText = (x: string) => {
|