Open alexpts opened 12 months ago
Yeah, this should be fixed. However, it's a tricky one.
How I can escape field with dot manually?
You could use bracket notation in such cases, e.g. $['disk.avail']
or some.path['disk.avail']
.
Thanks!
I cant use it for top level, but it works with map syntax .()
for me:
.({'disk.avail': $['disk.avail'] })
Yes, it doesn't work as a mapping for arrays, but as a read property of a value operation disregarding of value's type. For arrays you need to use .()
(or .map()
) as you do.
Input JSON:
On click to input field UI show suggest fields
Fields with dot in name don`t work correct.
.name
- show name field1) Autosuggest must escape name of fields. 2) How I can escape field with dot manually?