Merge pull request #6548 from mergehez/datepicker-missing-toggleCallback

fixes #6543 (missing slot prop: toggleCallback)
pull/6711/head
Tuğçe Küçükoğlu 2024-11-01 12:33:54 +03:00 committed by GitHub
commit ebd448f224
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -23240,7 +23240,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

@ -33,7 +33,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"