LearnNewsExamplesServices
Frontmatter
id5343
titleform.field.Select: originalConfig.value
stateClosed
labels
enhancementstale
assigneestobiu
createdAtMar 15, 2024, 2:48 PM
updatedAtSep 12, 2024, 4:27 AM
githubUrlhttps://github.com/neomjs/neo/issues/5343
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 12, 2024, 4:27 AM

form.field.Select: originalConfig.value

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on Mar 15, 2024, 2:48 PM

With the new separation of inputValue (string) and value (record), we need to adjust the originalConfig.value too.

loading a form will only pass a recordId which then get mapped into a record inside beforeSetValue().

To check if a field isDirty, we need to compare 2 records.

We could either create a new logic to compare a recordId inside the orginialConfig with the current value record OR store the record inside the originalConfig too.

@ExtAnimal

tobiu added the enhancement label on Mar 15, 2024, 2:48 PM
tobiu assigned to @tobiu on Mar 15, 2024, 2:48 PM