playbook_ui_docs 13.31.0.pre.alpha.PLAY10863202 → 13.31.0.pre.alpha.PLAY10863204
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c05cac000429d46ff7ed199368b7abae766129922093dd6d0b33bd45c6a6b4
|
4
|
+
data.tar.gz: a1c56da4e7061eafa9ebbc53281e69a56e6f3ba780298230c99bc239c7affe14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e305119438bfe3a329e0de069a568c3f3a68ca2f30923f1b6e41221ecba03ff505b6d3a57654d7526f82badc3ae5fd1bf59b3d7eb66707710ef5987e8a75d08c
|
7
|
+
data.tar.gz: 2e58757bda96a91842dcd128f3d08015d81aa6242611b18f3e442a85ccd327443f16baf2bc623a83527267a660b8b904b83f898119d41afb6b8dcb860f977f59
|
@@ -14,12 +14,6 @@ import {
|
|
14
14
|
Typeahead,
|
15
15
|
} from '../..'
|
16
16
|
|
17
|
-
type TypeAheadWithHighlightProps = {
|
18
|
-
data: {
|
19
|
-
name: String,
|
20
|
-
},
|
21
|
-
};
|
22
|
-
|
23
17
|
const USERS = [
|
24
18
|
{
|
25
19
|
name: "Wade Winningham",
|
@@ -43,7 +37,7 @@ const USERS = [
|
|
43
37
|
},
|
44
38
|
];
|
45
39
|
|
46
|
-
const TypeaheadWithHighlight = (props
|
40
|
+
const TypeaheadWithHighlight = (props) => {
|
47
41
|
const [selectedUser, setSelectedUser] = useState()
|
48
42
|
|
49
43
|
const formatOptionLabel = ({name, territory, title}, {inputValue}) => {
|
@@ -48,7 +48,7 @@ const promiseOptions = (inputValue) =>
|
|
48
48
|
|
49
49
|
const TypeaheadWithPillsAsyncCustomOptions = (props) => {
|
50
50
|
const [users, setUsers] = useState([])
|
51
|
-
const handleOnChange = (value) =>
|
51
|
+
const handleOnChange = (value) => setUsers(value)
|
52
52
|
|
53
53
|
/**
|
54
54
|
*
|