提交 e7d091cf 编写于 作者: M Martin Zikmund

chore: Fvoid swapped input types

上级 ba8bf2ea
......@@ -649,6 +649,9 @@ namespace Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls
}
[TestMethod]
#if __MACOS__
[Ignore("Currently fails on macOS, part of #9282 epic")]
#endif
public async Task When_ReadOnly_Toggled_Repeatedly()
{
var textBox = new TextBox
......
......@@ -354,8 +354,8 @@ namespace Windows.UI.Xaml.Controls
// InputScopes like multi-line works on Android only for InputType property, not SetRawInputType.
// For CurrencyAmount (and others), both works but there is a behavioral difference documented in UseLegacyInputScope.
// The behavior that matches UWP is achieved by SetRawInputType.
var rawInputType = AdjustInputTypes(InputTypes.ClassText, inputScope);
_textBoxView.SetInputTypes(inputType, rawInputType);
var adjustedInputType = AdjustInputTypes(InputTypes.ClassText, inputScope);
_textBoxView.SetInputTypes(adjustedInputType, inputType);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册