RadioGroup crashes slint live preview
need triaging
### Bug Description
As soon as I put a RadioGroup in a UI, I get the following crash:
```
thread 'main' (14861802) panicked at internal/interpreter/dynamic_item_tree.rs:1142:25:
Native type not registered: RadioGroup
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-07-02T12:32:38.707023Z ERROR slint_lsp::preview::connector::native: The Slint live preview crashed! Please open a bug on the [Slint bug tracker](https://github.com/slint-ui/slint/issues).
```
### Reproducible Code (if applicable)
```slint
export component Yolo inherits Window {
RadioGroup {
title: "time";
orientation: Orientation.horizontal;
RadioButton { text: "yolo"; }
RadioButton { text: "ohay"; }
}
}
```
### Environment Details
- Slint Version: Version 1.17.0 (20260625.035314)
- Platform/OS: MacOS
- Programming Language: /
- Backend/Renderer: /
### Product Impact
- The UI for our product.
- It's an inconvenience we can workaround, but still a fairly annoying one as it renders the widget unusable with the preview, requiring running the full app for testing. We're considering replacing radio buttons with a custom widget to work around the issue - which is unpleasant.
0 条评论