Skip to content

Conversation

nighknight
Copy link
Contributor

@nighknight nighknight commented Jul 12, 2017

Current browsers display a warning if no valid url is entered into an url field of a form.

On the "Add News" page this happens as well if create a news entry, but do not (want to) specify an url at all.

browser warning url

You have to deleted the "http://" manually before it is possible to save the news entry.

This could be avoided by using the "placeholder" attribute instead of the "value" attribute.
newversion
This way, the desired format is shown, but the user is not forced to take any action if no url is desired.

Current browser display a warning if no valid url is entered into the url field of a form.
Here this happens as well if create a news entry, but do not specify an url at all.
This is avoided by using the "placeholder" attribute instead of the "value" attribute.
@thorsten thorsten merged commit 768f074 into thorsten:2.9 Jul 12, 2017
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