Hi Gareth,
Greetings from Syncfusion Support..!
We have validated your shared sample at our end and can replicate your reported problem which can be overcame by mentioning the item-wise custom template property of the Toolbar component as the HTML element that is either a string or a querySelector. And for the same, we have modified your shared sample which can be viewed from the following link.
<div>
<div id="Template">
<input
type="radio"
id="checkpointer"
name="select"
checked={toolState === "select"}
onChange={updateRadio}
/>
<input
type="radio"
id="checkpan"
name="pan"
checked={toolState === "pan"}
onChange={updateRadio}
/>
</div>
<ToolbarComponent id="zoomControl" ref={toolbar}>
<ItemsDirective>
<ItemDirective template="#Template" />
<ItemDirective template={t => <NumericTextBoxComponent />} />
</ItemsDirective>
</ToolbarComponent>
</div> |
Kindly try the above solution and get back to us if you need any further assistance.
We will happy to assist you..!
Regards,
Hareesh