Open neverfan opened 6 years ago
+1
Looks some any one issue https://github.com/the-control-group/voyager/issues/1964
If I have pgsql array I can't use multiple select for field becouse this filed waited json string, but in database field not valid json. I think this commit is mistake.
Laravel Version: v5.4.36 Voyager Version: 1.0.7 PHP Version: 5.6.30 Database Driver & Version: PgSQL
Description:
On edit page for formfields "select_multiple" field value alway need being json: https://github.com/the-control-group/voyager/blob/master/resources/views/formfields/select_multiple.blade.php#L6 and convert it to object(stdClass), but when this field is output in browse view this field used as array: https://github.com/the-control-group/voyager/blob/master/resources/views/bread/browse.blade.php#L104
Whats wrong:
Steps To Reproduce:
Open any bread browse page and output some field with select_multiple value.
The best solution in my opinion
Cancel this merge: https://github.com/the-control-group/voyager/pull/1818/files and return developers to prepare data how they need