Feel kinda dirty adding a class to a form based on it's form mode just to be able to write a few tests to check that class is there and make sure the correct form mode is being used. But it was the easiest way I could think of to test so... 😜
Feel kinda dirty adding a class to a form based on it's form mode just to be able to write a few tests to check that class is there and make sure the correct form mode is being used. But it was the easiest way I could think of to test so... 😜