diff --git a/package.json b/package.json index 9418038..d4692d2 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "prepublishOnly": "npm run check && npm run typecheck && npm run pack:check && npm run types:check", "types:check": "attw --pack . --profile esm-only --no-summary", "typecheck": "tsc --noEmit", - "test": "npm run build && node --test tests/*.test.mjs" + "test": "npm run build && node --test test/*.test.mjs tests/*.test.mjs" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.3", diff --git a/src/admin.tsx b/src/admin.tsx index 01a837a..9d82dab 100644 --- a/src/admin.tsx +++ b/src/admin.tsx @@ -280,12 +280,17 @@ function renderSubField( return (
- {type === "boolean" ? null : {field.label}} + {type === "boolean" || type === "select" ? null : ( + + )} {type === "textarea" ? ( -