Open pawaru opened 1 year ago
cds-file custom label resets to "Browse" on clearing files instead of retaining the custom label set using buttonLabel property.
Browse
Stackblitz reproducing the scenario: https://stackblitz.com/edit/clarity-light-theme-clr15-bnzy1c
Steps to reproduce the behavior:
Custom Label
Filename
'X' Files
On clearing the input files using the 'X' button, the label should change to "Custom Label" instead of "Browse"
"@cds/angular": "^6.3.1", "@cds/city": "^1.1.0", "@cds/core": "^6.3.1", "@clr/angular": "~15.1.0", "@clr/ui": "~15.1.0",
Clarity project:
Clarity version:
Framework:
Framework version: Clarity Angular v15
Device:
Describe the bug
cds-file custom label resets to "
Browse
" on clearing files instead of retaining the custom label set using buttonLabel property.How to reproduce
Stackblitz reproducing the scenario: https://stackblitz.com/edit/clarity-light-theme-clr15-bnzy1c
Steps to reproduce the behavior:
Custom Label
"Filename
- In case of single file b.'X' Files
- In case of multiple filesBrowse
" instead of the "Custom Label
"Expected behavior
On clearing the input files using the 'X' button, the label should change to "Custom Label" instead of "Browse"
Versions
Clarity project:
Clarity version:
Framework:
Framework version: Clarity Angular v15
Device: