diff --git a/lang/en/fieldtypes.php b/lang/en/fieldtypes.php index fa5ec422d0d..4bf16f33aaf 100644 --- a/lang/en/fieldtypes.php +++ b/lang/en/fieldtypes.php @@ -4,6 +4,7 @@ 'any.config.antlers' => 'Enable Antlers parsing in this field\'s content.', 'any.config.cast_booleans' => 'Options with values of true and false will be saved as booleans.', 'any.config.mode' => 'Choose your preferred UI style.', + 'array.config.compact' => 'Show a trigger and edit values in a popover. Useful in tables and other tight layouts.', 'array.config.expand' => 'Whether to save the array in the expanded format. Use this if you intend to have numeric values.', 'array.config.keys' => 'Set the array keys (variables) and their optional labels.', 'array.config.mode' => 'The **dynamic** mode gives the user free control of the data, while **keyed** and **single** modes enforce strict keys.', diff --git a/resources/js/components/fieldtypes/ArrayFieldtype.vue b/resources/js/components/fieldtypes/ArrayFieldtype.vue index 5c4184576d1..f8706ba4f40 100644 --- a/resources/js/components/fieldtypes/ArrayFieldtype.vue +++ b/resources/js/components/fieldtypes/ArrayFieldtype.vue @@ -1,99 +1,129 @@