RC-96 | Add Boolean inputs for the item forms
This commit is contained in:
parent
5c78523791
commit
fe90172656
4 changed files with 45 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { barInput } from "./barInput.mjs";
|
||||
import { booleanInput } from "./booleanInput.mjs";
|
||||
import { dropdownInput } from "./dropdownInput.mjs";
|
||||
import { numberInput } from "./numberInput.mjs";
|
||||
import { stringSet } from "./stringSet.mjs";
|
||||
|
|
@ -10,7 +11,7 @@ const inputTypes = {
|
|||
integer: numberInput,
|
||||
bar: barInput,
|
||||
dropdown: dropdownInput,
|
||||
boolean: displayOnly,
|
||||
boolean: booleanInput,
|
||||
};
|
||||
|
||||
const typesToSanitize = new Set([ `string`, `number` ]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue