Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SplitButton | new input properties #15220

Closed
cetincakiroglu opened this issue Apr 5, 2024 · 0 comments
Closed

SplitButton | new input properties #15220

cetincakiroglu opened this issue Apr 5, 2024 · 0 comments
Assignees
Labels
Core Team Issue or pull request has been *opened* by a member of Core Team Type: Breaking Change Issue contains a breaking change related to a specific component Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@cetincakiroglu
Copy link
Contributor

cetincakiroglu commented Apr 5, 2024

New input properties will be added to the splitButton.

  • severity
  • outlined
  • plain
  • raised
  • size
  • text

Use of styleClass to assign outline, severity will no longer supported.

<p-splitButton 
      label="Secondary" 
      [model]="this.items" 
      (onClick)="save('info')" 
      styleClass="p-button-outlined p-button-secondary mr-2 mb-2"
></p-splitButton>

Instead of styleClass, users should now use related input properties to enable these features.

<p-splitButton 
      label="Secondary" 
      [model]="this.items" 
      (onClick)="save('info')" 
      outlined 
      severity="secondary"
></p-splitButton>
@cetincakiroglu cetincakiroglu added the Type: New Feature Issue contains a new feature or new component request label Apr 5, 2024
@cetincakiroglu cetincakiroglu added this to the 17.13.0 milestone Apr 5, 2024
@cetincakiroglu cetincakiroglu self-assigned this Apr 5, 2024
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 5, 2024
@cetincakiroglu cetincakiroglu added Core Team Issue or pull request has been *opened* by a member of Core Team Type: Breaking Change Issue contains a breaking change related to a specific component and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team Issue or pull request has been *opened* by a member of Core Team Type: Breaking Change Issue contains a breaking change related to a specific component Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

1 participant