Skip to content
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

Parameter class missing support for Descriptions and and Placeholders #57

Open
mbreissi opened this issue Aug 30, 2018 · 1 comment
Open

Comments

@mbreissi
Copy link

Need to add support and methods for setDescription() and setPlaceholder()

@mbreissi
Copy link
Author

Suggested implementstion in Parameter.cs:

	    public string Description
	    {
		    get => this["description"].Value<string>();
		    set => this["description"] = value;
	    }

	    public string Placeholder
	    {
		    get => this["placeholder"].Value<string>();
		    set => this["placeholder"] = value;
	    }

	    public Parameter SetDescription(string description)
	    {
		    Description = description;
		    return this;
	    }

	    public Parameter SetPlaceholder(string placeholder)
	    {
		    Placeholder = placeholder;
		    return this;
	    }

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

No branches or pull requests

2 participants