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
Warning XC0022
if using FormattedText
from a Label
#20633
Comments
XC002
if using FormattedText
from a Label
XC0022
if using FormattedText
from a Label
Related to #20568 |
This was a new warning added to avoid some common perf and binding issues. The data type should propagate to the spans, but maybe @StephaneDelcroix has more input? You can disable the warnings for now: <NoWarn>$(NoWarn);XC0022;XC0023</NoWarn> |
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process. |
Thanks @mattleibow for your reply. There is a |
Description
If setting the
DataType
of theContentPage
and using aLabel.FormattedText
, the compiler warnsXC0022
while usingLabel.Text
does not warn.@StephaneDelcroix
Steps to Reproduce
Link to public reproduction project repository
https://github.com/AndreasReitberger/WarningXC0022Repro
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
8.0.6 SR1
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: