react-native-windows 0.0.0-canary.643 → 0.0.0-canary.644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp
CHANGED
|
@@ -628,6 +628,13 @@ void WindowsTextInputComponentView::updateProps(
|
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
+
if (oldTextInputProps.editable != newTextInputProps.editable) {
|
|
632
|
+
propBitsMask |= TXTBIT_READONLY;
|
|
633
|
+
if (!newTextInputProps.editable) {
|
|
634
|
+
propBits |= TXTBIT_READONLY;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
631
638
|
/*
|
|
632
639
|
if (oldTextInputProps.textAttributes.foregroundColor != newTextInputProps.textAttributes.foregroundColor) {
|
|
633
640
|
if (newTextInputProps.textAttributes.foregroundColor)
|
|
@@ -668,10 +675,6 @@ void WindowsTextInputComponentView::updateProps(
|
|
|
668
675
|
m_element.PlaceholderText(winrt::to_hstring(newTextInputProps.placeholder));
|
|
669
676
|
}
|
|
670
677
|
|
|
671
|
-
if (oldTextInputProps.editable != newTextInputProps.editable) {
|
|
672
|
-
m_element.IsReadOnly(!newTextInputProps.editable);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
678
|
if (oldTextInputProps.selection.start != newTextInputProps.selection.start ||
|
|
676
679
|
oldTextInputProps.selection.end != newTextInputProps.selection.end) {
|
|
677
680
|
m_element.Select(
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.0.0-canary.
|
|
13
|
+
<ReactNativeWindowsVersion>0.0.0-canary.644</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>true</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>7383c42723e87691c0f08c101a44cfe0a2a7c3e9</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|