From 69e2061af2b00a8d6752bb6a5e1c9404d89790fa Mon Sep 17 00:00:00 2001 From: rosenthalj <45439491+rosenthalj@users.noreply.github.com> Date: Wed, 18 Oct 2023 05:21:08 -0400 Subject: [PATCH 1/2] Update selectbutton.ts set default value for allowEmpty to false --- src/app/components/selectbutton/selectbutton.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/selectbutton/selectbutton.ts b/src/app/components/selectbutton/selectbutton.ts index 029f4a47130..3e20f106bb0 100755 --- a/src/app/components/selectbutton/selectbutton.ts +++ b/src/app/components/selectbutton/selectbutton.ts @@ -89,7 +89,7 @@ export class SelectButton implements ControlValueAccessor { * Whether selection can not be cleared. * @group Props */ - @Input() allowEmpty: boolean = true; + @Input() allowEmpty: boolean = false; /** * Inline style of the component. * @group Props From fdb187ea33385705e76c197de709daff93fb0145 Mon Sep 17 00:00:00 2001 From: rosenthalj <45439491+rosenthalj@users.noreply.github.com> Date: Wed, 18 Oct 2023 05:24:39 -0400 Subject: [PATCH 2/2] Update index.json set SelectButton default value for allowEmpty to false --- src/app/showcase/doc/apidoc/index.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/showcase/doc/apidoc/index.json b/src/app/showcase/doc/apidoc/index.json index 940d29058f2..342d5e8ee78 100644 --- a/src/app/showcase/doc/apidoc/index.json +++ b/src/app/showcase/doc/apidoc/index.json @@ -18659,7 +18659,7 @@ "optional": false, "readonly": false, "type": "boolean", - "default": "true", + "default": "false", "description": "Whether selection can not be cleared." }, { @@ -26231,4 +26231,4 @@ } } } -} \ No newline at end of file +}