+1-888-365-2779
Try Now
More in this section

Forums / Project Feather / dealing with multiple dynamic content types in widget designer ?

dealing with multiple dynamic content types in widget designer ?

1 posts, 0 answered
  1. Tigger
    Tigger avatar
    17 posts
    Registered:
    25 Apr 2016
    02 Nov
    Link to this post

    I am trying to figure out how to offer the ability to select more than one content type via the designer (extending the SingleDynamicContent sample widget)

    So long as the content type is the same (defined in ItemType) I can get the items selected and saved

    But when there are two content types I cannot get select the second one … when I click "select"

    I get a "Specified argument was out of the range of valid values"

     

            <div class="form-group">
                <label>Choose dynamic content type:</label>
                <input type="text" ng-model="properties.ItemTypeBackgroundColor.PropertyValue" class="form-control" />
            </div>

            <div class="form-group">
                <label>Background Color:</label>
                <div class="row">
                    <div class="col-xs-6">
                        <sf-list-selector sf-dynamic-items-selector
                                          sf-item-type="properties.ItemBackgroundColor.PropertyValue"
                                          sf-selected-item-id="properties.SelectedItemIdBackgroundColor.PropertyValue"
                                          sf-provider="properties.ProviderName.PropertyValue" />


                    </div>
                </div>
            </div>

1 posts, 0 answered