|
@@ -8,6 +8,16 @@ import { Dialog } from '../../base/dialog';
|
8
|
8
|
|
9
|
9
|
import { endRoomLockRequest } from '../actions';
|
10
|
10
|
|
|
11
|
+/**
|
|
12
|
+ * The style of the {@link TextInput} rendered by {@code RoomLockPrompt}. As it
|
|
13
|
+ * requests the entry of a password, {@code TextInput} automatically correcting
|
|
14
|
+ * the entry of the password is a pain to deal with as a user.
|
|
15
|
+ */
|
|
16
|
+const _TEXT_INPUT_PROPS = {
|
|
17
|
+ autoCapitalize: 'none',
|
|
18
|
+ autoCorrect: false
|
|
19
|
+};
|
|
20
|
+
|
11
|
21
|
/**
|
12
|
22
|
* Implements a React Component which prompts the user for a password to lock a
|
13
|
23
|
* conference/room.
|
|
@@ -54,6 +64,7 @@ class RoomLockPrompt extends Component {
|
54
|
64
|
bodyKey = 'dialog.passwordLabel'
|
55
|
65
|
onCancel = { this._onCancel }
|
56
|
66
|
onSubmit = { this._onSubmit }
|
|
67
|
+ textInputProps = { _TEXT_INPUT_PROPS }
|
57
|
68
|
titleKey = 'toolbar.lock' />
|
58
|
69
|
);
|
59
|
70
|
}
|