diff --git a/components/SettingsText.tsx b/components/SettingsText.tsx index a7fce76..362ed99 100644 --- a/components/SettingsText.tsx +++ b/components/SettingsText.tsx @@ -97,8 +97,10 @@ export default class SettingsText render() { this.ref = useRef(); const id = `s-${this.props.name}`; + let cn = "text"; + if (this.props.helpertext) cn += " helper"; return ( -
+
{ type="number" min={1} /> +