Skip to content

Duplicated field mixing asterix and declaration #918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
amiceli opened this issue Aug 8, 2017 · 1 comment
Closed

Duplicated field mixing asterix and declaration #918

amiceli opened this issue Aug 8, 2017 · 1 comment

Comments

@amiceli
Copy link

amiceli commented Aug 8, 2017

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.

@Anthropic
Copy link
Member

See #748 this is in the alpha version already using the key "..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants