Comments (2)
You said it yourself! π Try setting activeIndex
to an array:
<p-accordion
[multiple]="true"
[activeIndex]="[0]"
>
<!-- ... -->
</p-accordion>
According to the docs, the activeIndex
needs to be an array in multiple mode:
Index of the active tab or an array of indexes in multiple mode.
from primeng.
Well, I completely missed that. Thank you @c-o-l-i-n
from primeng.
Related Issues (20)
- Component: Accordion HOT 1
- The scrollbar looks different in Chrome compared to Edge, and it appears a bit unattractive in Chrome. Could it be made compatible?
- Tag: Release 17.16.1 introduces breaking changes HOT 2
- When using Angular Reactive Forms with PrimeNG's βp-checkboxβ get nested array result
- Component: multiSelect
- IconField | Add styleClass support
- [Android] inputotp does not jump to next field when using onscreen keyboard HOT 5
- Table > Responsive: stack is equal scroll, stack not showing HOT 3
- Component: IconField wrong icon positioning HOT 1
- ToggleButton | update to standalone
- SelectButton | update to standalone
- Change config.ripple to signal for better reactivity
- p-tree drag and drop breaks with virtualScroll HOT 1
- InputNumber: Cursor jumps to the end if suffix is used
- Menu closes itself immediately when the menu and its button toggle is inside ShadowDom
- Component: Menu - Keyboard navigation does not skip items where visible has been set to false
- p-galleria autoPlay property renders twice
- p-table: Table automatically scrolls to top when table item is removed [virtual scroll] HOT 1
- Problem with accents on export csv
- Table: editable column is broken when disabled temporarily
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primeng.