Hi! I use dropdown field in repeater to create a list of places. Places are added in the backend. How to display translated place names on the frontend?
places:
label: 'Places nearby'
style: accordion
span: left
type: repeater
tab: 'Places nearby'
form:
fields:
place:
label: Place
span: auto
showSearch: true
type: dropdown
distance:
label: 'Distance (m)'
span: auto
type: text
place_address:
label: 'Address'
span: full
type: text
public function getPlaceOptions(){
return Place::orderBy('name')->lists('name','name');
}
Hi! I use dropdown field in repeater to create a list of places. Places are added in the backend. How to display translated place names on the frontend?