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

✅ Add validation rules for amp-autocomplete. #21526

Merged
merged 11 commits into from Apr 26, 2019

Conversation

caroqliu
Copy link
Contributor

@caroqliu caroqliu commented Mar 21, 2019

No description provided.

@cvializ
Copy link
Contributor

cvializ commented Mar 25, 2019

@honeybadgerdontcare (or @Gregable ): I discussed this with @caroqliu and we were both puzzling over how to accomplish the above validation logic. Any advice?

@honeybadgerdontcare
Copy link
Contributor

@cvializ yes, this is something I'm looking into

@cvializ
Copy link
Contributor

cvializ commented Mar 25, 2019

Thanks!

@caroqliu
Copy link
Contributor Author

Made the changes we discussed offline yesterday, ptal @cvializ

Copy link
Contributor

@honeybadgerdontcare honeybadgerdontcare left a comment

Choose a reason for hiding this comment

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

validation looks good

Copy link
Contributor

@cvializ cvializ left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@caroqliu caroqliu changed the title Validation rules for amp-autocomplete. ✅ Add validation rules for amp-autocomplete. Apr 25, 2019
@cvializ cvializ merged commit 125cf30 into ampproject:master Apr 26, 2019
honeybadgerdontcare added a commit that referenced this pull request Apr 26, 2019
* cl/243147325 Revision bump for #21770

* cl/244691564 Revision bump for #21552

* cl/245095560 Allow i-amphtml-sizer as child of amp-image-slider.

* cl/245331243 Allow i-amphtml-sizer as child of amp-video-iframe.

* cl/245480181 Revision bump for #21526
caroqliu added a commit to caroqliu/amphtml that referenced this pull request Apr 29, 2019
* Create validation files

* Add validation test HTML file

* Add validator rules and update out

* Update validator rules

* Attempt validate template usage

* Undo nested input

* Modify validation rules

* Change "value" to "data-value"

* Remove unwanted valid cases from validator tests

* Update data-value in test

* minor nits
caroqliu pushed a commit to caroqliu/amphtml that referenced this pull request Apr 29, 2019
* cl/243147325 Revision bump for ampproject#21770

* cl/244691564 Revision bump for ampproject#21552

* cl/245095560 Allow i-amphtml-sizer as child of amp-image-slider.

* cl/245331243 Allow i-amphtml-sizer as child of amp-video-iframe.

* cl/245480181 Revision bump for ampproject#21526
@caroqliu caroqliu deleted the autocomplete-validations branch September 6, 2019 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants