ix icon indicating copy to clipboard operation
ix copied to clipboard

The uplod component support different states but not demonstrated in the document

Open supreethaPavank opened this issue 1 year ago • 2 comments

What happened?

Upload support following states UploadFileState.LOADING | UploadFileState.SELECT_FILE | UploadFileState.UPLOAD_FAILED | UploadFileState.UPLOAD_SUCCESSED

But no idea on how the UI should look when the component fails to upload? or is successful? In both figma and in the IX docs

supreethaPavank avatar Jul 27 '23 05:07 supreethaPavank

Hi @supreethaPavank,

as soon as the status "UPLOAD_FAILD" is set the component will display an error icon and the message text defined by "uploadFailedText" or "uploadSuccessText". We will consider to update the documentation of this component to also show these examples.

silviowolf avatar Aug 04 '23 13:08 silviowolf

Internal ref [IX-914]

matthiashader avatar Feb 13 '24 07:02 matthiashader