diff --git a/apps/showcase/doc/inputgroup/ButtonDoc.vue b/apps/showcase/doc/inputgroup/ButtonDoc.vue
index 20ef10831..fb6ffcac4 100644
--- a/apps/showcase/doc/inputgroup/ButtonDoc.vue
+++ b/apps/showcase/doc/inputgroup/ButtonDoc.vue
@@ -10,13 +10,20 @@
-
+
+
+
+
-
+
+
+
-
+
+
+
@@ -26,6 +33,7 @@
export default {
data() {
return {
+ items: [{ label: 'Web Search' }, { label: 'AI Assistant' }, { label: 'History' }],
code: {
basic: `
@@ -35,13 +43,20 @@ export default {
-
+
+
+
+
-
+
+
+
-
+
+
+
`,
options: `
@@ -54,16 +69,38 @@ export default {
-
+
+
+
+
-
+
+
+
-
+
+
+
+
+
diff --git a/packages/primevue/src/inputgroup/style/InputGroupStyle.js b/packages/primevue/src/inputgroup/style/InputGroupStyle.js
index 0a0b9c80c..fd6a6def6 100644
--- a/packages/primevue/src/inputgroup/style/InputGroupStyle.js
+++ b/packages/primevue/src/inputgroup/style/InputGroupStyle.js
@@ -36,6 +36,15 @@ const theme = ({ dt }) => `
border-inline-end: 1px solid ${dt('inputgroup.addon.border.color')};
}
+.p-inputgroupaddon:has(.p-button) {
+ padding: 0;
+ overflow: hidden;
+}
+
+.p-inputgroupaddon .p-button {
+ border-radius: 0;
+}
+
.p-inputgroup > .p-component,
.p-inputgroup > .p-inputwrapper > .p-component,
.p-inputgroup > .p-floatlabel > .p-component,