mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4496] Share dialog enhancements (#4705)
* raise snackbars on unshare errors * remove time from datepicker * update tests * Update en.json * code updates as per review * update docs * bind datetimepicker type attribute * set datetimepicker type by configuration or default * tests * e2e test * update docs * e2e set sharedLinkDateTimePickerType config
This commit is contained in:
committed by
Eugenio Romano
parent
c3b1300d86
commit
99f4b07878
@@ -67,3 +67,17 @@ and passes it to a [Viewer component](../../core/components/viewer.component.md)
|
||||
[allowGoBack]="false">
|
||||
</adf-viewer>
|
||||
```
|
||||
|
||||
## Date and time widget
|
||||
|
||||
Date and time widget for setting the expiration date can be configured to show only the date picker or both date and time piker.
|
||||
By default, the widget will show both date and time picker if `sharedLinkDateTimePickerType` is not present in the app.config.json.
|
||||
Possible values are `'date'` or `'datetime'`
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"sharedLinkDateTimePickerType": 'date'
|
||||
...
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user