Copied to clipboard

Flag this post as spam?

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

  • Nez 1 post 21 karma points
    3 days ago

    Custom Property Editor: How to add more field dynamically (like listtextstring)?


    I need help making my editor to be able to dynamically add more fields just like listtextstring or multiurlpicker.

    A link to some sort of a guide would be very helpful. I just couldnt find any documentation about it at all.

    What I aim to do is having 2 type of field for url. One is for iframe link and the other one will be for github repo.

    That way user can add multiple url link and github repo link in one element.

    enter image description here

    This is currently what I have right now. for package.manifest

        "propertyEditors": [
                "name": "DoubleTextBox",
                "alias": "DoubleTextBox",
                "editor": {
                    "view": "~/App_Plugins/DoubleTextBox/DoubleTextBoxView.html",
                    "valueType": "JSON"
        "javascript": [

    my html

    <div ng-controller="DoubleTextBoxController" class="guiInputStandardSize">
        <input id="testone" type="text" ng-model="model.value.left"/>
        <input id="testtwo" type="text" ng-model="model.value.right" />

    my js

    angular.module("umbraco").controller("MyDataTypeController", function ($scope) { });
  • Chriztian Steinmeier 2770 posts 8587 karma points MVP 6x admin c-trib
    22 hours ago
    Chriztian Steinmeier

    Hi Nez,

    I know it's not exactly what you want, but I made a Key/Value editor a while ago, mostly based on the built-in Repeatable TextString editor - feel free to take a look at how it works:

    Hope this helps, /Chriztian

Please Sign in or register to post replies

Write your reply to: