FileItem and UploadItem text area always seem to display at the same width regardless of the “width:” specified for the item in DynamicForm.create. Is there a different way to go about setting the width of these items? Thanks.
Jeff
FileItem and UploadItem text area always seem to display at the same width regardless of the “width:” specified for the item in DynamicForm.create. Is there a different way to go about setting the width of these items? Thanks.
Jeff
Hi Jeff
UploadItems don’t support custom width at the moment.
This is due to a native limitation on what css styling is available on HTML input items of type “file”.
Sorry for the inconvenience on this one.
Isomorphic Software
FileItem - can I change the “browse” button behavior?
I’d like to use the FileItem to allow a user to select a file on their file system, but I want to open the file dialog from an “Import” button on a DynamicForm, and I don’t want a text input control to appear. Is there any way I can change the FileItem behavior?
Thanks very much,
Jim
Hi Jim,
There are exotic hacks which allow you to fully skin an UploadItem, but we don’t recommend going down that route because radically altering an UploadItem’s appearance could be viewed as a security flaw, and prevented by future browser versions.