fixes #6543 (missing slot prop: toggleCallback)

pull/6548/head
mergehez 2024-10-09 22:16:02 +02:00
parent a9df09ece5
commit 1a8c8ee2af
2 changed files with 2 additions and 2 deletions

View File

@ -21584,7 +21584,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "optional": false,
"type": "{\n \t <span class=\"ml-3 doc-option-parameter-name\">toggleCallback</span>: <span class=\"doc-option-parameter-type\">(<span class=\"doc-option-parameter-name\">event</span>: Event) &rArr; void</span>, <span class=\"doc-option-parameter-type\">// Toggle function.</span>\n}" "type": "{\n \t <span class=\"ml-3 doc-option-parameter-name\">toggleCallback</span>: <span class=\"doc-option-parameter-type\">() &rArr; void</span>, <span class=\"doc-option-parameter-type\">// Toggle function.</span>\n}"
} }
], ],
"returnType": "VNode<RendererNode, RendererElement, Object>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",

View File

@ -32,7 +32,7 @@
@keydown="onKeyDown" @keydown="onKeyDown"
:pt="ptm('pcInputText')" :pt="ptm('pcInputText')"
/> />
<slot v-if="showIcon && iconDisplay === 'button' && !inline" name="dropdownbutton"> <slot v-if="showIcon && iconDisplay === 'button' && !inline" name="dropdownbutton" :toggleCallback="onButtonClick">
<button <button
:class="cx('dropdown')" :class="cx('dropdown')"
:disabled="disabled" :disabled="disabled"