Skip to content

[Form] Deprecate not configuring the default_protocol option of the UrlType #50882

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

Closed
wants to merge 1 commit into from

Conversation

MatTheCat
Copy link
Contributor

@MatTheCat MatTheCat commented Jul 5, 2023

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? yes
Tickets Part of #50871
License MIT
Doc PR N/A

You would expect an <input type="url"> from the UrlType, but it is not possible as long as default_protocol has a value, because then you have to accept inputs that are not URLs (and you get an <input type="text" inputmode="url">).

In order to change default_protocol from 'http' to null in 7.0, we must first deprecate not configuring it.

Don’t know how I can update tests though; all of UrlTypeTest’s parent test cases will trigger the deprecation 🤔

@MatTheCat MatTheCat requested review from xabbuh and yceruto as code owners July 5, 2023 07:28
@carsonbot carsonbot added this to the 6.4 milestone Jul 5, 2023
@MatTheCat MatTheCat force-pushed the ticket_50871 branch 4 times, most recently from 2b543bd to b99f459 Compare July 6, 2023 07:47
@yceruto
Copy link
Member

yceruto commented Jul 6, 2023

Hi @MatTheCat, can you check your commit? it looks unrelated to this PR's proposal.

@MatTheCat MatTheCat closed this Jul 9, 2023
@MatTheCat MatTheCat deleted the ticket_50871 branch July 9, 2023 15:46
@MatTheCat
Copy link
Contributor Author

Damn seems I’ve been mixing up my branches 😬 Opened #50922

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.

3 participants