FormElement should be easier to change big-icon (in create Block List) and small-icon (in ToolBar)

Found in

EPiServer.Forms 4.3.0

Fixed in

EPiServer.Forms 4.4.2

Created

Feb 02, 2017

Updated

Mar 06, 2017

Area

Authoring form in EditView

State

Closed, Fixed


Description

Currently, it's hard to change the form element big icon in Block browser. Since form elements inherit from block data, we should allow the use of the ImageUrl attribute to specify the icon of form elements, like other block types.
For the small icon in Form Element widget, it's easy to change the default one by overriding the css class, for example:
.epi-forms-icon.epi-forms-icon--small.epi-forms-mycustomelementblock__icon

{ background:url(images/mycustomelemeticon.png) 0px 0px no-repeat }