Skip to content

Commit 5e23eeb

Browse files
[5.x] Terms fieldtype: Only show "Allow Creating" option when using stack selector (#13151)
1 parent 69bcca6 commit 5e23eeb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Fieldtypes/Terms.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ protected function configFieldItems(): array
8888
'instructions' => __('statamic::fieldtypes.terms.config.create'),
8989
'type' => 'toggle',
9090
'default' => true,
91+
'if' => [
92+
'mode' => 'default',
93+
],
9194
],
9295
'taxonomies' => [
9396
'display' => __('Taxonomies'),

0 commit comments

Comments
 (0)