Commit b99151fb by kevalbhatt

ATLAS-1628 Restrict user from entering text in datepicker input

parent a4b16bba
...@@ -406,8 +406,14 @@ define(['require', ...@@ -406,8 +406,14 @@ define(['require',
removeText(e, e.currentTarget.value); removeText(e, e.currentTarget.value);
}); });
this.$('input[data-type="date"]').on('dp.hide', function() { this.$('input[data-type="date"]').on('dp.hide keydown', function(event) {
if (event.type) {
if (event.type == 'dp') {
this.blur(); this.blur();
} else if (event.type == 'keydown') {
return false;
}
}
}); });
}, },
getContainer: function(value) { getContainer: function(value) {
......
...@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al ...@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai) ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
ALL CHANGES: ALL CHANGES:
ATLAS-1628 Restrict user from entering text in datepicker input (kevalbhatt)
ATLAS-1538 Make AtlasLdapAuthenticationProvider like Ranger for OpenLdap type (nixonrodrigues via kevalbhatt) ATLAS-1538 Make AtlasLdapAuthenticationProvider like Ranger for OpenLdap type (nixonrodrigues via kevalbhatt)
ATLAS-1605 Edit Entity in UI : Update button is not enabled when updating attribute of type date (Kalyanikashikar via kevalbhatt) ATLAS-1605 Edit Entity in UI : Update button is not enabled when updating attribute of type date (Kalyanikashikar via kevalbhatt)
ATLAS-1595:Create Entity in UI : All attributes are not listed for hdfs_path. (Kalyanikashikar via kevalbhatt) ATLAS-1595:Create Entity in UI : All attributes are not listed for hdfs_path. (Kalyanikashikar via kevalbhatt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment