slint
slint copied to clipboard
SpinBox, edited event does not work
Hello, for information:
On Mac, Slint 1.4,
The "edited" event does not work with the SpinBox, the same code with a "TextEdit" works correctly.
Does not work
Rectangle {
HorizontalLayout {
for number[i] in numbers: SpinBox {
edited(value) => {
debug("Edited...");
debug(value);
}
}
}
}
Works
Rectangle {
HorizontalLayout {
for number[i] in numbers: TextEdit
{
edited(value) => {
debug("Edited...");
debug(value);
}
}
}
}
Thank you for the report. I could reproduce it for the cupertino and material SpinBox. The fluent and cosmic SpinBox worked. There is a PR that should fixes the issue.