Skip to content

Duplicated field mixing asterix and declaration #918

Closed
@amiceli

Description

@amiceli

Features

As a developer, when I define my form schema, I should be able to display remaning field with "*".

Expected behaviour

For example with that form definition :

vm.form  = [
    {
        "key"            : "name",
        validationMessage: {
            "nameContainsSpaces": "The name contains spaces"
        },
        $validators      : {
            nameContainsSpaces: function (value) {
                return !(angular.isString(value) && value.indexOf(' ') > 0);
            }
        }
    },
    '*',
    {
        type : "submit",
        title: "Save"
    }
];

My form must display name field with custom validators, and other field not explicit declared.

Actual behaviour

Currently name field is displayed twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions