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

[form-builder] Use text input for relative URL fields #1179

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Jan 23, 2019

This fixes the annoying case where browsers would show a relative URI as invalid even though the validation allows it.

Refactored the fetching of rules into a separate utility since it's kinda verbose and used in the number input as well.

We should probably revisit the validation implementation given that we now have a clearer picture of the weaker points of its implementation, but will create a separate issue for that.

Copy link
Member

@skogsmaskin skogsmaskin left a comment

Choose a reason for hiding this comment

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

Great!

@rexxars rexxars merged commit 0d468c8 into next Jan 24, 2019
@rexxars rexxars deleted the text-input-for-relative-uris branch January 24, 2019 08:50
@skogsmaskin skogsmaskin mentioned this pull request Feb 1, 2019
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