Home > Enterprise >  Is it that good practice to place the conditional UI changes in the class itself?
Is it that good practice to place the conditional UI changes in the class itself?

Time:07-01

The class is actually doing some changes in colors. If the value is active, Then, It will show some colored text and background is in the same logic for the remaining values like rejected, cancelled, expired, pending. Is it that good to write like this or Is there any other alternative way to write. While seeing this it might like

  • Related