Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInput: use Cow instead of reference for label, helper text and error text #773

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

sgued
Copy link
Contributor

@sgued sgued commented Jan 3, 2025

This is useful to be able to translate the label directly in the view function, instead of having to store a translation in the app state.

@sgued
Copy link
Contributor Author

sgued commented Jan 3, 2025

I also notice that error is never used.

@mmstick mmstick merged commit 90c5c84 into pop-os:master Jan 16, 2025
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.

2 participants