Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: resolve validation issues making it impossible to add a network #772
#680 introduced validation for adding a network, but that made it impossible to add a new network since all fields were checked in the validation (instead of the 3 that were on screen). This PR improves the validation rules so the rest of the fields are only checked when necessary.
Also fixes an issue where the input would show a message that the value is required whenever the input field became dirty (even though there was a value in it). This has now been changed to only trigger if it's required + the input field is empty.
Types of changes