Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

value is not mandatory anymore

Blue Mouse6c2314f78e5d
diff --git a/src/ui/Input.jsx b/src/ui/Input.jsx
index 1ed33150a..c7a2d8810 100644
--- a/src/ui/Input.jsx
+++ b/src/ui/Input.jsx
@@ -60,7 +60,7 @@ const Input = ({
Input.propTypes = {
value: PropTypes.oneOfType([
PropTypes.string, PropTypes.number,
- ]).isRequired,
+ ]),
label: PropTypes.string,
hint: PropTypes.string,
placeholder: PropTypes.string,
@@ -78,6 +78,7 @@ Input.propTypes = {
}
Input.defaultProps = {
+ value: null,
label: '',
hint: '',
placeholder: '',