I am a bit confused with the right way of registering custom CSR callbacks for fields on a list form.
While things are pretty straightforward if I am developing a totally custom field control, I am not so sure about the right way of "subclassing" standard SharePoint controls.
For example, it seems that if I call the standard SPFieldNote_Edit function in my control template and then register a custom init callback, the init callback previously registered by SPFieldNode_Edit will be overwritten, effectively breaking the normal operation of the standard control.
Neither am I sure about custom validators: if I invoke a standard control template and then call registerClientValidators, will the standard validators be overwritten with my ClientValidatorSet, or will rather my ClientValidatorSet will be appended to the list?
Unfortunately I couldn't find anything specific in the documentation, and neither there seems to be an Office PnP sample demonstrating proper subclassing of the standard controls.
Perhaps I could find the answers by looking at the internals of clienttemplates.js, but I am not sure if I am supposed to look there (legally, at least).
So any help will be appreciated.