Fix json serialization (#16558)

* fix copying json fields

* fixed preset filter type

* handling fallback in copyToClipboard function

* add test

* try parsing json content on paste

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
This commit is contained in:
Brainslug
2022-12-15 10:40:43 +01:00
committed by GitHub
parent bbcf76e030
commit 511c8d368b
4 changed files with 135 additions and 5 deletions

View File

@@ -528,7 +528,7 @@ function useForm() {
{
field: 'filter',
name: t('filter'),
type: 'string',
type: 'json',
meta: {
interface: 'system-filter',
width: 'half',