mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov-ui.git
				synced 2025-10-30 18:17:46 +00:00 
			
		
		
		
	[WIFI-11761] Fixed configuration subnet form rules
Signed-off-by: Charles <charles.bourque96@gmail.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,12 +1,12 @@ | ||||
| { | ||||
|   "name": "wlan-cloud-owprov-ui", | ||||
|   "version": "2.8.0(21)", | ||||
|   "version": "2.8.0(22)", | ||||
|   "lockfileVersion": 2, | ||||
|   "requires": true, | ||||
|   "packages": { | ||||
|     "": { | ||||
|       "name": "wlan-cloud-owprov-ui", | ||||
|       "version": "2.8.0(21)", | ||||
|       "version": "2.8.0(22)", | ||||
|       "license": "ISC", | ||||
|       "dependencies": { | ||||
|         "@chakra-ui/icons": "^2.0.11", | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "wlan-cloud-owprov-ui", | ||||
|   "version": "2.8.0(21)", | ||||
|   "version": "2.8.0(22)", | ||||
|   "description": "", | ||||
|   "main": "index.tsx", | ||||
|   "scripts": { | ||||
|   | ||||
| @@ -512,7 +512,7 @@ export const INTERFACE_IPV4_SCHEMA = (t, useDefault = false) => { | ||||
|     subnet: string().when('addressing', { | ||||
|       is: 'dynamic', | ||||
|       then: string().nullable(), | ||||
|       otherwise: string().default(''), | ||||
|       otherwise: string().test('test-ipv4-subnet', t('form.invalid_ipv4'), testIpv4).default(''), | ||||
|     }), | ||||
|     gateway: string().when('addressing', { | ||||
|       is: 'dynamic', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Charles
					Charles