ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

ui5-list: in Mode=Delete, add possibility to render a disabled button instead of no button

Open georgimkv opened this issue 5 years ago • 1 comments

The ui5-upload-collection component utilizes ui5-list and ui5-list-item. The Fiori UX spec suggests to show a button as disabled if a particular file cannot be deleted. Currently, the ui5-list-item doesn't expose a way to set its 'ModeDelete' button to disabled, so as a temporary solution, we have overriden the modeDelete getter to just hide the button.

Would you add a way to set the ModeDelete button to disabled?

georgimkv avatar Mar 01 '21 08:03 georgimkv

Currently the design spec can be interpreted in a couple of ways, so before we implement a solution, we have to make sure we are going to the right direction.

fifoosid avatar Mar 01 '21 10:03 fifoosid