Skip to content

Conversation

@Sebosek
Copy link
Contributor

@Sebosek Sebosek commented Apr 7, 2014

If select input has not options it's not necessary validate for select one of them, for example if I use Kendo UI MultiSelectList I can made it from select input element without options and set datasource (ajax, array, etc.).

If select input has not options it's not necessary validate for select one of them, for example if I use Kendo UI MultiSelectList I can made it select input element without options and set datasource (ajax, array, etc.).
@dg
Copy link
Member

dg commented Apr 7, 2014

Can you add test and better commit message?

@Sebosek
Copy link
Contributor Author

Sebosek commented Apr 7, 2014

Pull request to test [https://github.com/Sebosek/forms/commit/0ef6e77d791b4599d2df91651ca1579a03e87cba].

Ok, I'll try, but I'm not sure what should I write, why and what I guess.
If select is an empty list, validate() method should not check if something is select.

Should I write some use-case or something?

@dg dg closed this in 27f81f5 Apr 15, 2014
dg pushed a commit to nette/nette that referenced this pull request May 12, 2014
dg pushed a commit to nette/nette that referenced this pull request May 12, 2014
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

Successfully merging this pull request may close these issues.

2 participants