File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99### Changed
1010- ` Readonly ` trait to ` ReadonlyTrait ` to avoid PHP 8.1 reserved word ` readonly ` .
1111
12+ ## [ 1.36.1] - 2021-09-24
13+
14+ ### Added
15+ - RediPress field type ` Numeric ` for the Number field.
16+ - Added min-max trait to Flexible Content Layout
17+
1218## [ 1.36.0] - 2021-02-24
1319
1420### Added
Original file line number Diff line number Diff line change 77
88use Geniem \ACF \Field ,
99 Geniem \ACF \Field \Common \Groupable ,
10+ Geniem \ACF \Field \Common \MinMax ,
1011 Geniem \ACF \Interfaces \Groupable as GroupableInterface ;
1112
1213/**
@@ -19,6 +20,11 @@ class Layout implements GroupableInterface {
1920 */
2021 use Groupable;
2122
23+ /**
24+ * Import the min max functionalities
25+ */
26+ use MinMax;
27+
2228 /**
2329 * Layout label
2430 *
Original file line number Diff line number Diff line change @@ -32,6 +32,13 @@ class Number extends \Geniem\ACF\Field {
3232 */
3333 protected $ step ;
3434
35+ /**
36+ * What type the RediPress index field should be.
37+ *
38+ * @var string
39+ */
40+ protected $ redipress_field_type = 'Numeric ' ;
41+
3542 /**
3643 * Set step size
3744 *
You can’t perform that action at this time.
0 commit comments