OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Change config field to an Oro Entity (Contact)

This topic contains 1 reply, has 1 voice, and was last updated by  Geoffroy Cochard 6 years, 9 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
  • #34412

    Geoffroy Cochard
    Participant

    Hie,

    My goal is to change namePrefix behaviour like a select with option Mr, Mrs, Ms, etc through a Special DoctrineType

    My first step is to change type with migration :

    During migration all was fine but i would like to transform this field to an extended field cause to use all oro advantages like formType guesser and so on.

    But when i modify oro_options to is_extend = true of this field with migration like

    During cache generation, it find namePrefix twice

    Cause i think one namePrefix from extended configuration and one from regular entity…

    Should i work only on template / FormType override ?

    Thanks by advance for your advice

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #34413

    Geoffroy Cochard
    Participant

    Finally I opted to overload Form Type and EntityNameFormatter provider.

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top