Bug 4972 - MonoTouch.Dialog - Entry element not allowing edit of pervious text
Summary: MonoTouch.Dialog - Entry element not allowing edit of pervious text
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-05-09 13:18 UTC by Ian
Modified: 2012-05-16 14:18 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Ian 2012-05-09 13:18:41 UTC
It is not possible to more then edit cursor in an EntryElement and edit the text.

I have documented it here with photos:

http://stackoverflow.com/questions/10520894/monotouch-dialog-entryelement-not-allowing-edit-of-typed-in-text
Comment 1 Ian 2012-05-10 12:24:15 UTC
It appears this is the fix. Edit the Value in the EntryElement:

public string Value
{
    get
    {
        return this.val;
    }
    set
    {
        this.val = value;
        if (this.entry != null && value != null && !value.Equals (this.entry.Text))
        {
            this.entry.Text = value;
        }
    }
}
Comment 2 Sebastien Pouliot 2012-05-10 17:00:39 UTC
This is caused by:

https://github.com/migueldeicaza/MonoTouch.Dialog/commit/4cffe144f89fc9fbfe032d56e67a8583c2d641bf

which also breaks the password entry - bug #4736
Comment 3 Sebastien Pouliot 2012-05-16 14:18:53 UTC
Miguel fixed this in 37236b68f4c8fc6630e3ac28dd02beb6b5275c33

5.2-series: 02a06de59537c6dd9cba5c3ba10b0c6e5a6f2ad1
master: 482888902f405fd2618da52b0a63336222152826