forked from qt-creator/qt-creator
QmlDesigner: Add RegExp for dynamic properties
Task-number: QDS-7701 Change-Id: I9ef218c1b72789c527af5eabe923cf664b951ab2 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -677,6 +677,7 @@ Section {
|
|||||||
translationIndicatorVisible: false
|
translationIndicatorVisible: false
|
||||||
width: cePopup.itemWidth
|
width: cePopup.itemWidth
|
||||||
rightPadding: 8
|
rightPadding: 8
|
||||||
|
validator: RegExpValidator { regExp: /[a-z]+[0-9A-Za-z]*/ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
Reference in New Issue
Block a user