You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/10/23 18:38:20 UTC

[GitHub] [trafficcontrol] ocket8888 commented on issue #4019: TP: Compare profiles - should not allow to compare a profile to itself.

ocket8888 commented on issue #4019: TP: Compare profiles - should not allow to compare a profile to itself.
URL: https://github.com/apache/trafficcontrol/issues/4019#issuecomment-545580299
 
 
   > _"The best is to remove the item selected in first dropdown from the other so they are not allowed to compare to itself."_
   
   I don't think it will be that simple. What if the user clicks on the second dropdown first? What if they do that and then arbitrarily decide they actually want that profile to be on the left in comparison?
   
   I think you'll need to add a form validation that disables pressing the "Submit" ("Compare"?) button while the two selected profiles are the same. Obviously with an invalidity message.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services