mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
number now can be set as id in android
This commit is contained in:
@@ -26,7 +26,7 @@ function onAutomationTextPropertyChanged(data: dependencyObservable.PropertyChan
|
||||
|
||||
function onIdPropertyChanged(data: dependencyObservable.PropertyChangeData) {
|
||||
var view = <View>data.object;
|
||||
view._nativeView.setTag(data.newValue);
|
||||
view._nativeView.setTag(data.newValue + "");
|
||||
}
|
||||
(<proxy.PropertyMetadata>viewCommon.View.idProperty.metadata).onSetNativeValue = onIdPropertyChanged;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user