Closed A-Harby closed 1 year ago
the rule only prop only applied on input, so the user has to re-enter the gateway, we can overcome this by making the gateway field disabled until the user enters a valid id
Also to be taken in consideration, there are cases in which a user can enter an IP to enable a gateway input, enter the gateway, and then change their IP. In this case, the gateway must be re-verified to the new IP, which is the same problem.
I set a watcher on the ip field to handle this scenario
Verified on Devnet,
Gateway is now displayed until the IP is typed and validate correctly and even after that if gateway is changed, its validated again
Description
Gateway validation doesn't re-verify itself after IP is been added or changed, in adding IP to the farm.
Logs/Alerts
Untitled_ Mar 9, 2023 2_55 PM.webm