EASYCommerce MVC Checkbox control visibility bug
Posted: November 28th, 2022, 5:33 pm
I'm creating a Restrict Address page and the functionality is that if the user checks to restrict a billing address, the "Restrict Ship To?" checkbox should disappear for the other billing addresses (visible = False).
I have the visible property of the checkbox dynamically set to a value returned from the submethod. While testing I ran into a case where when checking to restrict only the Second Billing Address, the Restrict Ship To checkbox won't work (remains blank and makes no changes on click). I changed the RenderIfNotVisible property value to True, and now the functionality works, but when the Restrict Ship To checkbox is hidden for the first billing address, the text for the check box still remains visible.
I have the visible property of the checkbox dynamically set to a value returned from the submethod. While testing I ran into a case where when checking to restrict only the Second Billing Address, the Restrict Ship To checkbox won't work (remains blank and makes no changes on click). I changed the RenderIfNotVisible property value to True, and now the functionality works, but when the Restrict Ship To checkbox is hidden for the first billing address, the text for the check box still remains visible.