LearnNewsExamplesServices
Frontmatter
id8298
title[Neural Link] Implement toJSON in form.field.Picker
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtJan 3, 2026, 2:21 PM
updatedAtJan 3, 2026, 8:11 PM
githubUrlhttps://github.com/neomjs/neo/issues/8298
authortobiu
commentsCount0
parentIssue8200
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 3, 2026, 8:11 PM

[Neural Link] Implement toJSON in form.field.Picker

Closed v11.18.0/archive-v11-18-0-chunk-2 enhancementaiarchitecture
tobiu
tobiu commented on Jan 3, 2026, 2:21 PM

[Neural Link] Implement toJSON in form.field.Picker

Implement toJSON serialization for Neo.form.field.Picker.

Scope: Export the following configs and properties:

  • clientRects
  • picker: Serialized picker instance (me.picker?.toJSON())
  • pickerConfig: Serialized picker config (me.serializeConfig(me.pickerConfig))
  • pickerHeight
  • pickerIsMounted
  • pickerMaxHeight
  • pickerWidth
  • showPickerOnFocus

Implementation Details:

  • Ensure pickerConfig uses serializeConfig to handle class references properly.
  • Ensure picker instance is optionally serialized (only if it exists).
  • Include ...super.toJSON() to inherit Text field properties.

Goal: Standardize serialization for Neural Link.