diff --git a/apps/fz_http/lib/fz_http_web/live/device_live/new_form_component.html.heex b/apps/fz_http/lib/fz_http_web/live/device_live/new_form_component.html.heex index 889b834a2..6615adecf 100644 --- a/apps/fz_http/lib/fz_http_web/live/device_live/new_form_component.html.heex +++ b/apps/fz_http/lib/fz_http_web/live/device_live/new_form_component.html.heex @@ -107,7 +107,8 @@
<%= label f, :allowed_ips, "Allowed IPs", class: "label" %>
- <%= text_input f, :allowed_ips, class: "input #{input_error_class(f, :allowed_ips)}", + <%= textarea f, :allowed_ips, + class: "textarea #{input_error_class(f, :allowed_ips)}", disabled: @use_site_allowed_ips %>

diff --git a/apps/fz_http/lib/fz_http_web/live/setting_live/site_form_component.html.heex b/apps/fz_http/lib/fz_http_web/live/setting_live/site_form_component.html.heex index 0c05e8a69..67efcb6f7 100644 --- a/apps/fz_http/lib/fz_http_web/live/setting_live/site_form_component.html.heex +++ b/apps/fz_http/lib/fz_http_web/live/setting_live/site_form_component.html.heex @@ -4,10 +4,10 @@ <%= label f, :allowed_ips, "Allowed IPs", class: "label" %>

- <%= text_input f, + <%= textarea f, :allowed_ips, placeholder: @placeholders[:allowed_ips], - class: "input #{input_error_class(f, :allowed_ips)}" %> + class: "textarea #{input_error_class(f, :allowed_ips)}" %>