OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM FieldType in Form

This topic contains 3 replies, has 3 voices, and was last updated by  Jaimy 7 years, 11 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30333

    adriwan_kenoby
    Participant

    Hi,

    I want to use fieldtype in my form like in symfony.

    It was so easy to use Symfony\Component\Form\Extension\Core\Type\xXxType, but it seems its not possible with orocrm.

    I think that use composer to install this dependencie isn’t a good way.

    I am sure OroCRM redefine the way to perform that, so how can i do that now.

    Their is no documentation about FieldType in Oro…

    Sorry for my english, i am french.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #30334

    Vova Soroka
    Participant

    Hi @adriwan_kenoby,

    Do you want to reuse Oro\Bundle\EntityExtendBundle\Form\Type\FieldType form type in your form?
    Please confirm that I understand you right.

    #30335

    adriwan_kenoby
    Participant

    Sorry for my mistake.

    I used the new syntax (symfony >= 2.8) whit xXxType::class as 2nd parameter of the add method of the form builder.

    Their is nothing to import, it is possible to use type directly.

    But i see that oro redefine field, their is some like oro_gender and other…

    Where i can found a list of the different oro field type.

    Thanks

    #30336

    Jaimy
    Participant

    Hi @adriwan_kenoby,

    Most of Oro’s form types are defined in

    . All types you’re looking for (I think) have been defined in that specific yml file.

    Hope this helps!

    Kind Regards,

    Jaimy Casteleijn

Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top