diff --git a/components/lib/dropdown/BaseDropdown.vue b/components/lib/dropdown/BaseDropdown.vue index 3d3681f39..5e2a541b0 100644 --- a/components/lib/dropdown/BaseDropdown.vue +++ b/components/lib/dropdown/BaseDropdown.vue @@ -134,7 +134,7 @@ export default { type: Boolean, default: true }, - showTick: { + checkmark: { type: Boolean, default: false }, diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index 19140bb16..1f1fba8cb 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -152,9 +152,9 @@ export interface DropdownPassThroughOptions { */ itemLabel?: DropdownPassThroughOptionType; /** - * Used to pass attributes to the tick icon's DOM element. + * Used to pass attributes to the check icon's DOM element. */ - tickIcon?: DropdownPassThroughOptionType; + checkIcon?: DropdownPassThroughOptionType; /** * Used to pass attributes to the bank icon's DOM element. */ @@ -440,10 +440,10 @@ export interface DropdownProps { */ highlightOnSelect?: boolean | undefined; /** - * Whether the selected option will be shown with a tick. + * Whether the selected option will be shown with a check mark. * @defaultValue false */ - showTick?: boolean | undefined; + checkmark?: boolean | undefined; /** * Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration. * @defaultValue '{0} results are available' diff --git a/components/lib/dropdown/Dropdown.vue b/components/lib/dropdown/Dropdown.vue index 9088d1c14..719ba3679 100755 --- a/components/lib/dropdown/Dropdown.vue +++ b/components/lib/dropdown/Dropdown.vue @@ -129,8 +129,8 @@ :data-p-disabled="isOptionDisabled(option)" v-bind="getPTItemOptions(option, getItemOptions, i, 'item')" > -