diff --git a/index.js b/index.js
index a7ff51d..3f20187 100644
--- a/index.js
+++ b/index.js
@@ -27,9 +27,6 @@ module.exports = {
label: 'date',
placeholder: 'date',
type: 'date',
- settings: {
- empty: true,
- },
},
},
html: '',
diff --git a/lib/validation.js b/lib/validation.js
index 6362fe0..efda4d5 100644
--- a/lib/validation.js
+++ b/lib/validation.js
@@ -19,10 +19,6 @@
* @module dateValidation
*/
-module.exports = function dateValidation(input, settings) {
- if (input.target.value === '' && !settings.target.empty) {
- return `${input.target.name} cannot be left blank!`;
- }
-
+module.exports = function dateValidation() {
return true;
};
diff --git a/tests/validation.js b/tests/validation.js
index 99b964c..35f1d0e 100644
--- a/tests/validation.js
+++ b/tests/validation.js
@@ -27,11 +27,3 @@ const settings = {
test('valid input', t => {
t.true(validation(input, settings), 'Valid input returns true');
});
-
-// Invalid input
-test('validate correct input', t => {
- const ip = input;
- ip.target.value = '';
-
- t.is(validation(ip, settings), 'date cannot be left blank!', 'Return string if not valid');
-});