endAffixTemplateFunction
Defines a custom template for the end affix area. The end affix is positioned after the input field and typically contains action buttons.
When the built-in PromptBox buttons are enabled, the authored end-affix content stays in place and the framework backfills any missing built-in controls after it inside the same end-affix container. To adopt a custom element instead of the default control, include ref-promptbox-send-button, ref-promptbox-file-select-button, or ref-promptbox-speech-to-text-button on the authored element.
Example
<div id="promptbox"></div>
<script>
$("#promptbox").kendoPromptBox({
endAffixTemplate: () => '<button class="k-button k-button-flat">Custom</button>',
placeholder: "With custom end affix..."
});
</script>