Component Template Editor

This two fields i use for test FROM and TO


I add dialog alert(“test1”) on event onFocus for (Input Field) - From

But why the dialog alert also applied on (Input Field) - To

My first thought because I use same style class for From and To
but I tried to create two different style class and same results above