Merge pull request #6548 from mergehez/datepicker-missing-toggleCallback
fixes #6543 (missing slot prop: toggleCallback)pull/6711/head
commit
ebd448f224
|
@ -23240,7 +23240,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>[]",
|
||||
|
|
|
@ -33,7 +33,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