diff --git a/src/NotFound/Layout/Inputs/LayoutInputNumber.php b/src/NotFound/Layout/Inputs/LayoutInputNumber.php new file mode 100644 index 0000000..6b40752 --- /dev/null +++ b/src/NotFound/Layout/Inputs/LayoutInputNumber.php @@ -0,0 +1,24 @@ +properties->minValue = $min; + + return $this; + } + + public function setMax(int $max): self + { + $this->properties->maxValue = $max; + + return $this; + } +} diff --git a/src/NotFound/Layout/Inputs/LayoutInputSlider.php b/src/NotFound/Layout/Inputs/LayoutInputSlider.php new file mode 100644 index 0000000..09f3407 --- /dev/null +++ b/src/NotFound/Layout/Inputs/LayoutInputSlider.php @@ -0,0 +1,24 @@ +properties->minValue = $min; + + return $this; + } + + public function setMax(int $max): self + { + $this->properties->maxValue = $max; + + return $this; + } +}