fixes #6543 (missing slot prop: toggleCallback)
parent
a9df09ece5
commit
1a8c8ee2af
|
@ -21584,7 +21584,7 @@
|
|||
{
|
||||
"name": "scope",
|
||||
"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) ⇒ 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\">() ⇒ void</span>, <span class=\"doc-option-parameter-type\">// Toggle function.</span>\n}"
|
||||
}
|
||||
],
|
||||
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
@keydown="onKeyDown"
|
||||
:pt="ptm('pcInputText')"
|
||||
/>
|
||||
<slot v-if="showIcon && iconDisplay === 'button' && !inline" name="dropdownbutton">
|
||||
<slot v-if="showIcon && iconDisplay === 'button' && !inline" name="dropdownbutton" :toggleCallback="onButtonClick">
|
||||
<button
|
||||
:class="cx('dropdown')"
|
||||
:disabled="disabled"
|
||||
|
|
Loading…
Reference in New Issue