This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

imkoushiksen18487
imkoushiksen18487

In the Component i have set the page variables Like this:

$this->page['purpose_id'] = post('purpose_id');
 $this->page['property_type_id'] = post('property_type_id');
$this->page['category_id'] = post('property_category');

and sending the data to partial but it is not displaying the data . only shows the twig String that I have in the .htm page

{{ form_select('property_category',property_category,'',{'class':'form-control selectpicker',
'data-request':'onCategorySelect','data-request-loading':'#pageContentLoading',
'data-request-update': "'PropertyForms::basicInformation': '#basicInformation'",
'data-request-data':"'purpose_id': {{ purpose_id }}, 'property_type_id': {{ property_type_id}}" }) }}

I need to display the value of {{ purpose_id }} .

Last updated

imkoushiksen18487
imkoushiksen18487

'data-request-data': {'purpose_id':purpose_id,'property_type_id':property_type_id} never mind , solved it.

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.