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",
|
"name": "wlan-cloud-owprov-ui",
|
||||||
"version": "2.8.0(21)",
|
"version": "2.8.0(22)",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "wlan-cloud-owprov-ui",
|
"name": "wlan-cloud-owprov-ui",
|
||||||
"version": "2.8.0(21)",
|
"version": "2.8.0(22)",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chakra-ui/icons": "^2.0.11",
|
"@chakra-ui/icons": "^2.0.11",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wlan-cloud-owprov-ui",
|
"name": "wlan-cloud-owprov-ui",
|
||||||
"version": "2.8.0(21)",
|
"version": "2.8.0(22)",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.tsx",
|
"main": "index.tsx",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -512,7 +512,7 @@ export const INTERFACE_IPV4_SCHEMA = (t, useDefault = false) => {
|
|||||||
subnet: string().when('addressing', {
|
subnet: string().when('addressing', {
|
||||||
is: 'dynamic',
|
is: 'dynamic',
|
||||||
then: string().nullable(),
|
then: string().nullable(),
|
||||||
otherwise: string().default(''),
|
otherwise: string().test('test-ipv4-subnet', t('form.invalid_ipv4'), testIpv4).default(''),
|
||||||
}),
|
}),
|
||||||
gateway: string().when('addressing', {
|
gateway: string().when('addressing', {
|
||||||
is: 'dynamic',
|
is: 'dynamic',
|
||||||
|
|||||||
Reference in New Issue
Block a user