From 073032d79f23a699d34b591f06c68d2d93cb6f1b Mon Sep 17 00:00:00 2001
From: Website Deployment Script route and routeStack parameters,
where route corresponds to the current scene being rendered by the
Navigator and routeStack is the set of currently mounted routes
-that the navigator could transition to.
The function should return a scene configuration object.
Available scene configuration options are:
The initial route for navigation. A route is an object that the navigator +that the navigator could transition to.
The function should return a scene configuration object.
Available scene configuration options are:
The initial route for navigation. A route is an object that the navigator will use to identify each scene it renders.
If both initialRoute and initialRouteStack props are passed to
Navigator, then initialRoute must be in a route in
initialRouteStack. If initialRouteStack is passed as a prop but
diff --git a/releases/next/docs/textinput.html b/releases/next/docs/textinput.html
index b6bf2b7dab6..6034950eedb 100644
--- a/releases/next/docs/textinput.html
+++ b/releases/next/docs/textinput.html
@@ -923,7 +923,43 @@ exports.examples /View>
);
}
- }
+ },
+ {
+ title: 'TextInput maxLength',
+ render: function() {
+ return (
+ <View>
+ <WithLabel label="maxLength: 5">
+ <TextInput
+ maxLength={5}
+ style={styles.default}
+ />
+ </WithLabel>
+ <WithLabel label="maxLength: 5 with placeholder">
+ <TextInput
+ maxLength={5}
+ placeholder="ZIP code entry"
+ style={styles.default}
+ />
+ </WithLabel>
+ <WithLabel label="maxLength: 5 with default value already set">
+ <TextInput
+ maxLength={5}
+ defaultValue="94025"
+ style={styles.default}
+ />
+ </WithLabel>
+ <WithLabel label="maxLength: 5 with very long default value already set">
+ <TextInput
+ maxLength={5}
+ defaultValue="9402512345"
+ style={styles.default}
+ />
+ </WithLabel>
+ </View>
+ );
+ }
+ },
];
ANDROID # | Edit on GitHub |