ssossossosso

Forums

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

This topic contains 1 reply, has 1 voice, and was last updated by  Geoffroy Cochard 3 months, 1 week ago.

  • Creator
    Topic
  • #35202

    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
  • #35209

    Geoffroy Cochard
    Participant

    Finally I opted to overload Form Type and EntityNameFormatter provider.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.