Commit 70071507 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/modules/Common/Form/Fields/HexField): supports `a-f`

parent cb711fb0
......@@ -37,15 +37,12 @@ Item {
id: textField
validator: RegExpValidator {
regExp: /[0-9A-F]*/
regExp: /[0-9A-Fa-f]*/
}
onEditingFinished: {
if (!text.length) {
text = '0'
}
wrapper.editingFinished(parseInt(textField.text, 16))
text = _computeText('0x' + text)
wrapper.editingFinished(parseInt(text, 16))
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment