ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 3 replies, has 3 voices, and was last updated by Jaimy Jaimy 1 year, 6 months ago.

  • Creator
    Topic
  • #17665
    adriwan_kenoby
    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
  • #17666

    Vova Soroka
    Oro Core

    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.

    #17675
    adriwan_kenoby
    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

    #17683
    Jaimy
    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)

You must be logged in to reply to this topic.