The edit-target dialog set value on the <select> but the <option>s had no selected attribute, so Dioxus rendered the first option (Web Application)
regardless of the target's real type — and saving would silently rewrite a
PLC/SPS target's type to web_app.
Fix: mark the matching option selected (type + artifact-kind selects) so the
form opens on the target's actual values. Found live during the demo.
The edit-target dialog set `value` on the `<select>` but the `<option>`s had no
`selected` attribute, so Dioxus rendered the **first option (Web Application)**
regardless of the target's real type — and **saving would silently rewrite a
PLC/SPS target's type to `web_app`**.
Fix: mark the matching option `selected` (type + artifact-kind selects) so the
form opens on the target's actual values. Found live during the demo.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The edit-target dialog set `value` on the <select> but the <option>s had no
`selected` attribute, so Dioxus rendered the first option (Web Application)
regardless of the target's real type. Editing and saving a PLC/SPS (or any
non-web) target silently rewrote its type to web_app.
Mark the matching option `selected` (type + artifact-kind selects) so the form
opens on the target's actual values.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sharang
merged commit 55e4117369 into main2026-07-16 17:52:28 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The edit-target dialog set
valueon the<select>but the<option>s had noselectedattribute, so Dioxus rendered the first option (Web Application)regardless of the target's real type — and saving would silently rewrite a
PLC/SPS target's type to
web_app.Fix: mark the matching option
selected(type + artifact-kind selects) so theform opens on the target's actual values. Found live during the demo.
🤖 Generated with Claude Code