diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-02-08 15:03:52 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-02-08 15:03:52 +0100 |
commit | baa5ee2d4292460425ca7f6572425f1fb1100d9d (patch) | |
tree | 540737e663406e922091a5e177b1105fc5a96212 /src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | |
parent | 18460b2d79125d0252e7fe71e1ae84d5ef4f040a (diff) | |
download | wallabag-baa5ee2d4292460425ca7f6572425f1fb1100d9d.tar.gz wallabag-baa5ee2d4292460425ca7f6572425f1fb1100d9d.tar.zst wallabag-baa5ee2d4292460425ca7f6572425f1fb1100d9d.zip |
Force default_protocol to generate an url input
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/NewEntryType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php b/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php index 7d74fee3..7af1e589 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | |||
@@ -15,6 +15,7 @@ class NewEntryType extends AbstractType | |||
15 | ->add('url', UrlType::class, [ | 15 | ->add('url', UrlType::class, [ |
16 | 'required' => true, | 16 | 'required' => true, |
17 | 'label' => 'entry.new.form_new.url_label', | 17 | 'label' => 'entry.new.form_new.url_label', |
18 | 'default_protocol' => null, | ||
18 | ]) | 19 | ]) |
19 | ; | 20 | ; |
20 | } | 21 | } |