• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Game Feedback
  • /ARGF-632
Back
1

Incorrect warning in EditBoxFilterComponent script

1

State

Open
Issue key
ARGF-632
Access
Public
Space
Arma Reforger
Project
Game Feedback
Creator
tilw
Created
Sep 19, 2026
Views
18
Platform
PC
Game Version
1.8.0.13
Mission
—
Is it modded?
no
Description
override void HandlerAttached(Widget w)
	{
		super.HandlerAttached(w);
		
		m_wEditBox = EditBoxWidget.Cast(w);
		if (!m_wEditBox)
			m_wMultilineEditBox = MultilineEditBoxWidget.Cast(w);
		
		if (!m_wEditBox || !m_wMultilineEditBox)
		{
			Print("EditBoxFilterComponent used on invalid widget type.", LogLevel.WARNING);
			return;
		}

This code is supposed to check if the handlers widget is either an edit box or a multi line edit box.

if (!m_wEditBox || !m_wMultilineEditBox) should use && instead of ||, because right now it "ensures" it is both an EditBoxWidget and a MultiLineEditBoxWidget (which is impossible) and warns you otherwise.

It does not actively break anything because it's only a warning, but it's still incorrect and quick to fix.

Reactions

Activity

    1 day ago
  • tilw
    created issue1 day ago
  • tilw
    changed1 day ago
  • tilw
    changed1 day ago

You are not signed in. Please sign in to see more details and to reply.

State

Open
Issue key
ARGF-632
Access
Public
Space
Arma Reforger
Project
Game Feedback
Creator
tilw
Created
Sep 19, 2026
Views
18