mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1. Date time control not working on firefox.
2. Replace moment with date-fns in date time control as date-fns is more maintained. Fixes #6816
This commit is contained in:
committed by
Akshay Joshi
parent
d753719891
commit
332351efaf
@@ -100,7 +100,8 @@ export default class RoleSchema extends BaseUISchema {
|
||||
mode: ['properties', 'edit', 'create'],
|
||||
deps: ['rolcanlogin'],
|
||||
helpMessage: gettext('Please note that if you leave this field blank, then password will never expire.'),
|
||||
controlProps: { format: 'YYYY-MM-DD HH:mm:ss Z', ampm: false,
|
||||
controlProps: {
|
||||
ampm: false,
|
||||
placeholder: gettext('No Expiry'), autoOk: true,
|
||||
},
|
||||
disabled: obj.readOnly,
|
||||
|
||||
Reference in New Issue
Block a user