mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Don't allow spaces, commas and other illegal chars in the address
CURA-2384
This commit is contained in:
parent
ea9ba87fa4
commit
b25b92a81b
1 changed files with 4 additions and 0 deletions
|
@ -302,6 +302,10 @@ Cura.MachineAction
|
|||
id: addressField
|
||||
width: parent.width
|
||||
maximumLength: 40
|
||||
validator: RegExpValidator
|
||||
{
|
||||
regExp: /[a-zA-Z0-9\.\-\_]*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue