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?
I
ifox•9d ago
You won't be able to do this on the controller side, you would need a custom vue component. We have a maps field that uses Google Maps. It should be straightforward to build one for openstreetmap
1.4KMembers
View on DiscordWant results from more Discord servers?
More PostsCustom Vue blockI'm encountering an issue while trying to register a custom Vue block following the official guide.
Multilingual Imports (3.x)Running into two issues when running a bulk import from (many) xlsx files (on the command line usinUpgrading custom form fields from 2.x to 3.x?I noticed after upgrading Twill to 3.x from 2.x that my custom form fields no longer work. Is there Tags in create modalHello! Is it possible to have Tags input in create modal form? Last time I tried, it threw an error.