Somnath
TCTwill CMS
•Created by Somnath on 4/17/2024 in #👊support
How can i get another field value in partial balde?
$form->add(
Input::make()->name('lat')->label('Latitude')
);
$form->add(
Input::make()->name('lon')->label('Longitude')
);
$form->add(
BladePartial::make()->view('admin.dealer_map')->render()
);
In public function getForm(TwillModelContract $model)
And i created a dealer_map.blade.php
<div>
<iframe width="425" height="350" src="https://www.openstreetmap.org/export/embed.html?bbox=88.363892%2C22.572645%2C88.363892%2C22.572645&layer=mapnik&marker=22.572645%2C88.363892" style="border: 1px solid black"></iframe>
</div>
Here i want to add dynamic lat long in edit page.
How can i get value Latitude and Longitude in partial balde?
2 replies