Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • lkuchars
    replied
    Originally posted by davidj6 View Post
    You should never create an instance of a FormItem directly. Try using this code:

    Code:
    { type: "RowSpacerItem" },
    Facepalming now.
    Thank you.

    Leave a comment:


  • davidj6
    replied
    You should never create an instance of a FormItem directly. Try using this code:

    Code:
    { type: "RowSpacerItem" },

    Leave a comment:


  • RowSpacerItem and SpacerItem showing as visible TextItem

    Steps to reproduce:

    Go to your demo page:
    https://www.smartclient.com/smartcli...crease=4&dhc=1
    Edit first dynamic form from the top and add this FormItem:

    Code:
    RowSpacerItem.create(),
    below this code:

    Code:
    isc.DynamicForm.create({
        ID: "form1",
        width: 620,
        colWidths: [190, "*"],
        fields: [
            {name: "text", title:"Text", type:"text", hint: "A plain text field", wrapHintText: false},
            {name: "colorPicker", title:"Color Picker", type:"color"},
    Row spacer item is showing like this:

    Click image for larger version

Name:	Screenshot_20191029_142114.png
Views:	26
Size:	11.9 KB
ID:	259826
Working...
X