mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-01 04:12:04 +08:00
Don't allow spaces, commas and other illegal chars in the address
CURA-2384
This commit is contained in:
parent
ea9ba87fa4
commit
b25b92a81b
@ -302,6 +302,10 @@ Cura.MachineAction
|
||||
id: addressField
|
||||
width: parent.width
|
||||
maximumLength: 40
|
||||
validator: RegExpValidator
|
||||
{
|
||||
regExp: /[a-zA-Z0-9\.\-\_]*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user