Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Missing default tel (and search) plugins #233

Closed
Draxticore opened this issue Oct 3, 2019 · 2 comments
Closed

Missing default tel (and search) plugins #233

Draxticore opened this issue Oct 3, 2019 · 2 comments

Comments

@Draxticore
Copy link

As can be seen in:
#57
, the tel and search types have been initially omitted, for whatever reason.
I suggest to update:

src/FormElementManager/FormElementManagerV2Polyfill.php

and

src/FormElementManager/FormElementManagerV2Polyfill.php

, accordingly. If there is consensus on this suggestion, I could try to do it myself.

Code to reproduce the issue

I have the following config:

    'form' => [
        'elements' => [
            [
                'spec' => [
                    'type' => 'tel',
                    ...
                ],
            ],
        ],
    ],

Expected results

The tel plugin should be found.

Actual results

Service with name "" could not be created. Reason: A plugin by the name "tel" was not found in the plugin manager Zend\Form\FormElementManager\FormElementManagerV3Polyfill

@michalbundyra
Copy link
Member

@Draxticore would you like submit PR with the fix?

@Draxticore
Copy link
Author

@webimpress, sure, I'll go ahead, and try to do it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants