mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
(captiveportal) optimize mac validation
This commit is contained in:
parent
f173a3bedd
commit
ababecf8cc
@ -65,7 +65,7 @@
|
||||
<allowedMACAddresses type="CSVListField">
|
||||
<Required>N</Required>
|
||||
<ChangeCase>lower</ChangeCase>
|
||||
<mask>/^([0-9a-fA-F:,])*/u</mask>
|
||||
<mask>/^((([0-9a-fA-F]{2}:){5}([0-9a-fA-F]{2})([,]){0,1}))*/u</mask>
|
||||
<ValidationMessage>Please enter valid mac addresses</ValidationMessage>
|
||||
</allowedMACAddresses>
|
||||
<template type="ModelRelationField">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user