- Issue created by @Grimreaper
- Assigned to Grimreaper
- 🇫🇷France pdureau Paris
Indeed.
Today, Pagination component has 2 fields (slots):
- items: this one will be transformed into a "menu" setting (prop) once ✨ Add links setting type Needs review is done
- current: must be a number (or integer, if exists) setting (prop) because, as you said, this should be an integer otherwise the pattern breaks.
Also the occassion to remove a preprocess src/HookHandler/PreprocessPatternPagination.php which ensures this typing.
It would be great to remove a preprocess :)
- @grimreaper opened merge request.
-
Grimreaper →
committed d7742541 on 5.0.x
Issue #3366932 by Grimreaper, pdureau: Pagination: transform current...
-
Grimreaper →
committed d7742541 on 5.0.x
- Issue was unassigned.
- Status changed to Fixed
over 1 year ago 8:55am 15 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.