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

✅ Update validator rule to enforce number. Add Test. #17220

Merged
merged 1 commit into from Jul 31, 2018

Conversation

cvializ
Copy link
Contributor

@cvializ cvializ commented Jul 31, 2018

Other amp-date-picker attributes that accept numbers verify that their value is a number. This PR enforces and tests the same constraint for minimum-nights.

@cvializ cvializ merged commit 2f3b2c5 into ampproject:master Jul 31, 2018
Gregable pushed a commit that referenced this pull request Aug 6, 2018
@Gregable Gregable mentioned this pull request Aug 6, 2018
Gregable added a commit that referenced this pull request Aug 6, 2018
- Emits a warning if JSON cannot be parsed #15888 
- Add `amp-pan-zoom` to experimental format #17150 
- Clarify `INLINE_STYLE_TOO_LONG` error message.
- Enable the `amp-date-picker` `minimum-nights` attribute #17201, #17220
- `amp-list`: Require `reset-on-refresh="always"` for local data #17221 
- `amp-3d-glt`: add attribute `clearColor` #17085
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants