From db3540073cbc53cd810e71f31562b32216bf1a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Villegas?= <67444519+tvillegas98@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:06:50 -0300 Subject: [PATCH] feat: add checkbox (#975) --- .../lib/configurator_web/components/custom_components.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/configurator/lib/configurator_web/components/custom_components.ex b/apps/configurator/lib/configurator_web/components/custom_components.ex index 1cb5784e5..d2c2062a5 100644 --- a/apps/configurator/lib/configurator_web/components/custom_components.ex +++ b/apps/configurator/lib/configurator_web/components/custom_components.ex @@ -59,6 +59,7 @@ defmodule ConfiguratorWeb.CustomComponents do <.input field={effect_f[:duration_ms]} type="number" label="Effect duration" /> <.input field={effect_f[:remove_on_action]} type="checkbox" label="Remove effect on action" /> <.input field={effect_f[:one_time_application]} type="checkbox" label="Apply effect once" /> + <.input field={effect_f[:disabled_outside_pool]} type="checkbox" label="Disabled outside pool" /> <.input field={effect_f[:allow_multiple_effects]} type="checkbox" label="Allow more that one effect instance" /> <.input field={effect_f[:consume_projectile]} type="checkbox" label="Consume projectile" /> <.inputs_for :let={mechanics_form} field={effect_f[:effect_mechanics]}>