mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2024-04-21 12:32:08 +00:00
chore (form): form framework override of input renderer
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user