- Updated signal declarations to use tuple destructuring for clarity and consistency. - Corrected event type in `handle_submit` to `SubmitEvent` and added `prevent_default` to prevent page reload on form submission. - Adjusted the `tags` signal to use `Vec<String>` for improved type safety. - Fixed signal updates post-submission to ensure values are reset properly. - Enhanced readability by explicitly referencing signal getters in `view!`. This ensures the `ItemForm` component compiles and functions as intended. |
||
---|---|---|
.. | ||
components | ||
models | ||
app.rs | ||
lib.rs | ||
main.rs |