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

Legacy & New alternative components in v4 #5612

Closed
6 tasks done
tugcekucukoglu opened this issue Apr 18, 2024 · 0 comments
Closed
6 tasks done

Legacy & New alternative components in v4 #5612

tugcekucukoglu opened this issue Apr 18, 2024 · 0 comments
Assignees
Labels
Type: Breaking Change Issue contains a breaking change related to a specific component
Milestone

Comments

@tugcekucukoglu
Copy link
Member

tugcekucukoglu commented Apr 18, 2024

Legacy components and alternatives to replace them.

Previous usage

import Calendar from 'primevue/calendar';

app.component('DatePicker', Calendar);

Suggested new usage

import DatePicker from 'primevue/datepicker';

app.component('DatePicker', DatePicker);
  • Calendar --> DatePicker
  • InputSwitch --> ToggleSwitch
  • OverlayPanel --> Popover
  • Dropdown --> Select
  • Chips --> InputChips
  • Sidebar --> Drawer
@tugcekucukoglu tugcekucukoglu added this to the 4.0.0-beta.2 milestone Apr 18, 2024
@tugcekucukoglu tugcekucukoglu added the Type: Breaking Change Issue contains a breaking change related to a specific component label Apr 18, 2024
tugcekucukoglu added a commit that referenced this issue Apr 18, 2024
tugcekucukoglu added a commit that referenced this issue Apr 18, 2024
tugcekucukoglu added a commit that referenced this issue Apr 18, 2024
tugcekucukoglu added a commit that referenced this issue Apr 18, 2024
@tugcekucukoglu tugcekucukoglu self-assigned this May 22, 2024
@mertsincan mertsincan changed the title Legacy & New alternative components Legacy & New alternative components in v4 Jun 17, 2024
@mertsincan mertsincan pinned this issue Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Breaking Change Issue contains a breaking change related to a specific component
Projects
None yet
Development

No branches or pull requests

1 participant