Skip to content

messageFormat with autoform

Max Hodges edited this page Aug 22, 2015 · 4 revisions

too soon to say for sure, but we are having some success with this approach

Use helpers to load in the mf translations to keep things reactive.

in an autoform quickfield section of a template

 {{> afQuickField name='productName' value=preProductName label=mfProductName}} 

in the template helpers

 mfProductName: function(){
    return mf('lineItem.productName');
  },
Clone this wiki locally