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

MultiAutoComplete - fix #980 and test refactoring #982

Closed

Conversation

flongo
Copy link
Collaborator

@flongo flongo commented Feb 20, 2014

No description provided.

flongo added a commit to flongo/ariatemplates that referenced this pull request Feb 20, 2014
Using class `test.aria.widgets.form.autocomplete.multiautocomplete.BaseMultiAutoCompleteTestCase`, all MultiAutoComplete testcases have been refactored.

Close ariatemplates#982

__wait : function (evt, args) {
var cb;
args.text.splice(0, 1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also use: args.text.shift()
Or, as this expression returns the value of the item being removed, you could even use this expression in the type method instead of args.text[0].

@divdavem
Copy link
Member

✅ I have reviewed 29fb5d8 and 8241e17 and both commits are fine for me.

@flongo
Copy link
Collaborator Author

flongo commented Feb 20, 2014

Thank you. I will apply the suggested changes and integrate

@flongo flongo added this to the 1.4.17 milestone Feb 20, 2014
…ound data is not empty

When freeText option was set to false, items already present in the data model to which the value of the widget is bound were not taken into account.
This commit reverts a fix done for another bug within commit 41d50bf: when freeText is equal to false, type some text for which there is no suggestion. Then blur. Then click inside the field and type something for which suggestions are returned. Pressing ENTER would cause all items to be duplicated.
Using class `test.aria.widgets.form.autocomplete.multiautocomplete.BaseMultiAutoCompleteTestCase`, all MultiAutoComplete testcases have been refactored.

Close ariatemplates#982
@flongo flongo closed this in 3c38899 Feb 20, 2014
carlo-mr pushed a commit to carlo-mr/ariatemplates that referenced this pull request Mar 3, 2014
Using class `test.aria.widgets.form.autocomplete.multiautocomplete.BaseMultiAutoCompleteTestCase`, all MultiAutoComplete testcases have been refactored.

Close ariatemplates#982
@flongo flongo deleted the multiAutoComplete-enhanvements branch June 19, 2014 07:56
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.

None yet

2 participants