RC-96 | Add Boolean inputs for the item forms

This commit is contained in:
Oliver-Akins 2025-01-12 10:39:50 -07:00
parent 5c78523791
commit fe90172656
4 changed files with 45 additions and 1 deletions

View file

@ -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` ]);