Added input validation

the alert level widget now has visual and logical input validation
This commit is contained in:
2025-08-11 12:59:38 -07:00
parent 5df556896f
commit 8116745921
3 changed files with 30 additions and 13 deletions
@@ -13,7 +13,7 @@ export default function AddWidgetMenu({appendWidget}) {
<Menu.Content>
<Menu.Item
value="AlertLevel"
onClick={() => appendWidget(AlertLevel, 3, 6, 3, 6, 3, 6)} // width and height are passed through here for each widget
onClick={() => appendWidget(AlertLevel, 4, 7, 4, 7, 4, 7)} // width and height are passed through here for each widget
>
Alert Level
</Menu.Item>