To add additional fields to the Uploadbox’s dialog, override the internal _pushFileDetails method to include the new elements. The internal methods can be overridden as follows:
Render and add the header for the new textbox.
Then, create the textbox element with necessary class to provide styles.
Once it is created, append it to the container element.
Refer to the following combined code snippet.
Note: The _pushFileDetails method can be overridden in the previous code. Placing this code in the application will replace the default _ pushFileDetails method. The highlighted code is added in addition to the default code in the method.
Also, modify the existing styles to fit the textbox and apply some styling to blend the newly added text box in the Upload box’s dialog. Kindly refer to the following code snippet.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|