From da26a5e3d8d8b52367112285d1e7ccf77125f78c Mon Sep 17 00:00:00 2001 From: nickamantia Date: Tue, 16 Jul 2024 15:15:42 -0400 Subject: [PATCH] put docs back for review --- .../app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb | 1 + playbook/app/pb_kits/playbook/pb_star_rating/docs/example.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/playbook/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb b/playbook/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb index 30f3bd10e7..84d15c2a28 100644 --- a/playbook/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +++ b/playbook/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb @@ -35,6 +35,7 @@ <%= form.dropdown_field :example_dropdown, props: { label: true, options: example_dropdown_options } %> <%= form.select :example_select, [ ["Yes", 1], ["No", 2] ], props: { label: true } %> <%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %> + <%= form.star_rating_field :example_star_rating, props: { variant: "interactive", label: true } %> <%= form.check_box :example_checkbox, data: { field1: "value1", field2: "value2" }, props: { text: "Example Checkbox", label: true }, diff --git a/playbook/app/pb_kits/playbook/pb_star_rating/docs/example.yml b/playbook/app/pb_kits/playbook/pb_star_rating/docs/example.yml index 9253d7b9c7..e6a0820022 100644 --- a/playbook/app/pb_kits/playbook/pb_star_rating/docs/example.yml +++ b/playbook/app/pb_kits/playbook/pb_star_rating/docs/example.yml @@ -6,6 +6,7 @@ examples: - star_rating_hide: Layout Options - star_rating_number_config: Number Config - star_rating_size_options: Size Options + - star_rating_interactive: Interactive react: - star_rating_default: Default