chore (form): form framework override of input renderer

This commit is contained in:
MickaelK
2024-02-01 00:09:29 +11:00
parent 991a6cc43e
commit 921fada709
+3 -2
View File
@@ -8,7 +8,8 @@ export function formTmpl(options = {}) {
const {
autocomplete = true,
renderNode = null,
renderLeaf = null
renderLeaf = null,
renderInput = $renderInput({ autocomplete }),
} = options;
return {
renderNode: (opts) => {
@@ -35,7 +36,7 @@ export function formTmpl(options = {}) {
</label>
`);
},
renderInput: $renderInput({ autocomplete }),
renderInput,
formatLabel: format
};
};