-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Entry ClearButton does not clear the text? #9954
Comments
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Hi @FreakyAli. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
I can confirm this is not working on the latest preview 5 build. |
Nevermind, I created a new project from the MAUI template and it does work on .NET 6.0 and .NET 7.0. It does not work in my existing project. That I thought was using the latest preview version but it must not be. |
@mjphillips1981 So is this working in the lastest preview and if so how do I confirm if I have the latest preview? |
That's a good question. I am trying to figure out how to get it working in my already created project. |
I just did this and I can confirm I am facing the same issue, it only works on new projects but fails on existing projects |
I just may have pinpointed this issue. |
Nothing to do with frame, seems to be linked to Padding. I think it has to do with Padding. My frame has a padding of 20. If I pressed to the left of the "X" roughly the length of the padding it will clear the text. If I change my padding to 0 clicking the "X" clears the text. |
I guess we do need the padding though right... |
I have the same issue with padding, I need to click next to the X to be able to clear the text |
This is an absolute nightmare, I can't spend 2 hours debugging this bug for such a standard functionality... anyway, here are the steps to reproduce: Create a brand new MAUI app with this code, clear button doesn't work properly:
Remove Padding in VerticalStackLayout, now it works. Here's my workload: Installed Workload Id Manifest Version Installation Sourcemaui-windows 7.0.52/7.0.100 VS 17.4.33205.214 |
…n has been hit Fixes #9954
Description
So earlier today I was trying to use the internal property for an Entry to clear the text in it.
But when I click on it nothing seems to happen.
Am I missing something here?
Is this the intended behaviour?
If so how do I add the clear button functionality, I don't seem to find a command or a event for it...
Steps to Reproduce
ClearButtonVisibility="WhileEditing"
Expected output: A clear button shows up while editing the Entry and on Click of the Clear button the text clears.
Actual output: the text does not clear on the click of clear button.
Link to public reproduction project repository
https://github.com/FreakyAli/MAUI.FreakyControls
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
Latest of both
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: