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

Readme.md / documentation #10

Closed
antoine-nedelec opened this issue Aug 18, 2018 · 6 comments
Closed

Readme.md / documentation #10

antoine-nedelec opened this issue Aug 18, 2018 · 6 comments

Comments

@antoine-nedelec
Copy link

Hello,

I am trying to use your library, but I couldn't manage to make it work until now, I created a StackOverflow post but didn't received any help from it.

I know this is not the right place as it is for issues, but I don't know where to ask anymore. Could you give me some more information about how to use your library ?

Thanks a lot.

@garak
Copy link
Member

garak commented Aug 18, 2018

I'm not sure to understand your problem

@antoine-nedelec
Copy link
Author

I can't manage to show in a twig template one of your Tag entity.

I do have my form builder under App\Form\Type\TagsTextType, with a simple buildform like this:

    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('tagsText', TextType::class, ['required' => false, 'label' => 'Tags'])
        ;
    }

But I do not know how to generate the form in the end, I don't think i'm supposed to use this way:

        $builder->create($entity)
            ->add('keywords', TextType::class, array(['required' => false, 'label' => 'Tags']))
            ->getForm();

And I tried the Form Type Extension also, and couldn't make it work either. Do you have any working example project that I could inspect to understand how to do it ? Or maybe the solution if it is really simple :)

@garak
Copy link
Member

garak commented Aug 18, 2018

@garak
Copy link
Member

garak commented Oct 5, 2018

Can we close this?

@antoine-nedelec
Copy link
Author

Hello, yes sorry forgot to do that, but if I may i'l like to push 1 or 2 things in the documentation for the next novice person like me before you close it ?

@garak
Copy link
Member

garak commented Oct 5, 2018

Feel free top open a pull request.

@garak garak closed this as completed Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants