Skip to content

dropdown: accept impl Into<Cow<'_, str>#881

Merged
mmstick merged 1 commit into
pop-os:masterfrom
sgued:dropdown-cow
May 26, 2025
Merged

dropdown: accept impl Into<Cow<'_, str>#881
mmstick merged 1 commit into
pop-os:masterfrom
sgued:dropdown-cow

Conversation

@sgued

@sgued sgued commented May 24, 2025

Copy link
Copy Markdown
Contributor

This allows using format! in the view function rather than having to store all strings in the model
which is in theory less efficient but it's also much less likely to lead to stale data.

Closes #348 and solve #798

This allows using `format!` in the `view` function rather than
having to store all strings in the model
which is in theory less efficient but it's also much less likely to lead to stale data.
@mmstick mmstick merged commit a55ed23 into pop-os:master May 26, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should DropDown take a string for the selected item ?

2 participants