Commit 9f79f064 authored by Karel Slaný's avatar Karel Slaný Committed by Martin Straka

Fixed GovFormList component.

parent e278da64
...@@ -59,6 +59,7 @@ ScrollableListView { ...@@ -59,6 +59,7 @@ ScrollableListView {
onFinished: { onFinished: {
var locale = Qt.locale() var locale = Qt.locale()
textField.text = selectedDate.toLocaleDateString(locale, "yyyy-MM-dd") textField.text = selectedDate.toLocaleDateString(locale, "yyyy-MM-dd")
root.model.setProperty(index, "gsVal", textField.text)
} }
} }
...@@ -100,7 +101,7 @@ ScrollableListView { ...@@ -100,7 +101,7 @@ ScrollableListView {
icox.open() icox.open()
} }
} }
onTextChanged: { onTextEdited and onEditingFinished cannot be used here onTextEdited: { // onTextChanged cannot be used here; onEditingFinished ?
root.model.setProperty(index, "gsVal", textField.text) root.model.setProperty(index, "gsVal", textField.text)
} }
} }
......
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