Fixed readonly issue

This commit is contained in:
Tig
2024-06-27 20:43:42 -07:00
parent d7bd938664
commit 23394c10a2

View File

@@ -6067,7 +6067,12 @@ public class TextView : View
{
ResetColumnTrack ();
if (!AllowsReturn || _isReadOnly)
if (_isReadOnly)
{
return false;
}
if (!AllowsReturn)
{
// By Default pressing ENTER should be ignored (OnAccept will return false or null). Only cancel if the
// event was fired and set Cancel = true.