Skip to content

Commit 5ae01f4

Browse files
committed
feat: add getSearchValue
1 parent 13ec222 commit 5ae01f4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/SubmittedGoogleMapField.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ public function getExportValue()
3636
}
3737

3838

39+
public function getSearchValue()
40+
{
41+
if ($this->Value) {
42+
$data = json_decode($this->Value);
43+
44+
return $data->Search;
45+
}
46+
47+
return '';
48+
}
49+
50+
3951
/**
4052
*
4153
*/

0 commit comments

Comments
 (0)