Skip to content

Commit 3ed2b01

Browse files
committed
Make all selects createable
1 parent 71b3edc commit 3ed2b01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+95
-5
lines changed

src/components/collection/CollectionExportForm.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const queryParams = () => (
2929
cacheOptions
3030
isClearable
3131
fullWidth
32+
creatable
3233
/>
3334
<FormControlLabel
3435
control={<Field name="metadata" component={BoolCheckbox} />}
@@ -42,6 +43,7 @@ const queryParams = () => (
4243
cacheOptions
4344
isClearable
4445
fullWidth
46+
creatable
4547
/>
4648
<Field name="notification" component={TextField} fullWidth />
4749
<FieldTypeArray
@@ -86,6 +88,7 @@ const queryParams = () => (
8688
cacheOptions
8789
isClearable
8890
fullWidth
91+
creatable
8992
/>
9093
<Field name="start" label="Start Timecode" component={TextField} fullWidth />
9194
<Field name="end" label="End Timecode" component={TextField} fullWidth />

src/components/deletionlock/DeletionLockListFilterForm.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const queryParams = ({ entityType }) => (
3636
cacheOptions
3737
isClearable
3838
fullWidth
39+
creatable
3940
/>
4041
<Field name="range" component={TextField} fullWidth />
4142
<FormControlLabel

src/components/exportlocation/ExportLocationForm.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function ExportLocationType() {
2525
isClearable
2626
fullWidth
2727
isMulti
28+
creatable
2829
/>
2930
<Field
3031
name="projection"
@@ -34,6 +35,7 @@ function ExportLocationType() {
3435
cacheOptions
3536
isClearable
3637
fullWidth
38+
creatable
3739
/>
3840
<Field
3941
name="script"

src/components/exportlocation/ExportLocationSelect.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default function ExportLocationSelect(props) {
3535
loadOptions={loadExportLocationOptions}
3636
cacheOptions
3737
parse={parse}
38+
createable
3839
{...props}
3940
/>
4041
);

src/components/fieldgroup/FieldGroupSelect.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default function FieldGroupSelect(props) {
3030
loadOptions={loadFieldGroupOptions}
3131
cacheOptions
3232
parse={parse}
33+
createable
3334
{...props}
3435
/>
3536
);

src/components/file/FileEntityForm.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function FileEntityForm({ error, handleSubmit }) {
5555
isClearable
5656
required
5757
fullWidth
58+
creatable
5859
/>
5960
<FormSection name="fileDocument" component={fileDocument} />
6061
<FormSection name="queryParams" component={queryParams} />

src/components/file/FileListFilterForm.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const queryParams = () => (
6666
isClearable
6767
required
6868
fullWidth
69+
creatable
6970
/>
7071
<Field
7172
name="storageGroup"
@@ -75,6 +76,7 @@ const queryParams = () => (
7576
isClearable
7677
required
7778
fullWidth
79+
creatable
7880
/>
7981
<FormControl component="fieldset">
8082
<FormLabel component="legend">File Association</FormLabel>

src/components/file/FileMoveForm.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function FileMoveForm({ error, handleSubmit }) {
6363
isClearable
6464
required
6565
fullWidth
66+
creatable
6667
/>
6768
<FormSection name="queryParams" component={queryParams} />
6869
<button type="submit" hidden />

src/components/file/FilePathForm.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const queryParams = () => (
2424
isClearable
2525
required
2626
fullWidth
27+
creatable
2728
/>
2829
<FormControl fullWidth>
2930
<InputLabel htmlFor="state">State</InputLabel>

src/components/group/GroupForm.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function GroupLookup() {
2323
loadOptions={loadGroupOptions}
2424
cacheOptions
2525
isClearable
26+
creatable
2627
/>
2728
);
2829
}
@@ -36,6 +37,7 @@ function UserLookup() {
3637
loadOptions={loadUserOptions}
3738
cacheOptions
3839
isClearable
40+
creatable
3941
/>
4042
);
4143
}

0 commit comments

Comments
 (0)