Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Jump 2341 posts 14868 karma points MVP 8x c-trib
    Dec 15, 2017 @ 12:40
    Kevin Jump
    1

    Cannot create custom properties Umbraco 7.7

    Hi

    with the latest version of leBlender (1.0.9.2) installed via NuGet on a clean Umbraco (7.7.7) site.

    I can't seem to add custom properties to a LeBlender Editor.

    when i select add property i see the side box with all the settings. but i have two issues :

    1. the drop down seems to default back to either the top of bottom of the list no matter what i choose.

    2. once you start typing in the title box, the drop down box disappears.

    enter image description here

    1. when you then put the item in the grid it doesn't have any properties.

    enter image description here

    looking a the grid.editors.config.js file the config values are empty

     "config": {
                "editors": [
                    {
                        "name": "Title",
                        "alias": "title",
                        "PropertyEditorAlias": "",
                        "propretyType": {},
                        "description": "Page Title"
                    },
                    {
                        "name": "Image",
                        "alias": "image",
                        "PropertyEditorAlias": "",
                        "propretyType": {}
                    }
                ],
    

    i suspect it has something to do with the changes to the pramterConfig.prevalues.html file - but i am afraid i don't know enough about what this controller is doing to offer a fix.

  • Yoni Antabi 9 posts 119 karma points
    Dec 28, 2017 @ 08:44
    Yoni Antabi
    0

    I'm facing the same issue, the problem is here -> ~\App_Plugins\LeBlender\editors\leblendereditor\dialogs\parameterconfig.prevalues.html - Line 14.

                    <umb-control-group ng-if="model.value.DataTypeName || !model.value.name" label="Data type" description="">
                        <select ng-options="datatype.DataTypeName as datatype.name for datatype in availableDataTypes" ng-model="model.value.DataTypeName" required></select>
                    </umb-control-group>
    

    should be ->

                    <umb-control-group ng-if="model.value.DataTypeName || **model.value.name**" label="Data type" description="">
                        <select ng-options="datatype.DataTypeName as datatype.name for datatype in availableDataTypes" ng-model="model.value.DataTypeName" required></select>
                    </umb-control-group>
    

    but there are other bugs with this version.

  • René Pjengaard 118 posts 702 karma points c-trib
    Jan 18, 2018 @ 09:38
    René Pjengaard
    3

    I have testet a quickfix. See it here: https://github.com/Lecoati/LeBlender/issues/87

    Best regards René

Please Sign in or register to post replies

Write your reply to:

Draft