From 5eafb235d3cb1d427776b42c3277e801393b5000 Mon Sep 17 00:00:00 2001 From: Jay George Date: Mon, 1 Jun 2026 15:25:38 +0100 Subject: [PATCH 01/19] Radios - add option for chips --- lang/en/fieldtypes.php | 1 + .../components/fieldtypes/RadioFieldtype.vue | 10 ++++++- resources/js/components/ui/Radio/Group.vue | 28 ++++++++++++++++--- resources/js/components/ui/Radio/Item.vue | 26 +++++++++++++++-- src/Fieldtypes/Radio.php | 14 +++++++--- 5 files changed, 68 insertions(+), 11 deletions(-) diff --git a/lang/en/fieldtypes.php b/lang/en/fieldtypes.php index 650448ef7a2..59583eb618d 100644 --- a/lang/en/fieldtypes.php +++ b/lang/en/fieldtypes.php @@ -143,6 +143,7 @@ 'picker.category.special.description' => 'These fields are special, each in their own way.', 'picker.category.structured.description' => 'Fields that store structured data. Some can even nest other fields inside themselves.', 'picker.category.text.description' => 'Fields that store strings of text, rich content, or both.', + 'radio.config.appearance' => 'Choose how the radio buttons are displayed.', 'radio.config.inline' => 'Show the radio buttons in a row.', 'radio.config.options' => 'Set the array keys and their optional labels.', 'radio.title' => 'Radio', diff --git a/resources/js/components/fieldtypes/RadioFieldtype.vue b/resources/js/components/fieldtypes/RadioFieldtype.vue index 066aee36835..03282aeeafe 100644 --- a/resources/js/components/fieldtypes/RadioFieldtype.vue +++ b/resources/js/components/fieldtypes/RadioFieldtype.vue @@ -1,5 +1,5 @@