LearnNewsExamplesServices
Frontmatter
id4953
titleform.field.Text: emptyValue config
stateClosed
labels
enhancement
assigneestobiu
createdAtSep 28, 2023, 12:47 PM
updatedAtSep 28, 2023, 12:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/4953
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 28, 2023, 12:47 PM

form.field.Text: emptyValue config

Closed v8.1.0 enhancement
tobiu
tobiu commented on Sep 28, 2023, 12:47 PM

right now, a TextField returns null when empty or clicking on the clear trigger, but it returns an empty string, in case we clear the last char via the delete key.

this feels not consistent and we should add a new config to make it configurable (overwritable) for apps.

@linchen

tobiu added the enhancement label on Sep 28, 2023, 12:47 PM
tobiu assigned to @tobiu on Sep 28, 2023, 12:47 PM
tobiu referenced in commit 54459ff - "form.field.Text: emptyValue config #4953" on Sep 28, 2023, 12:47 PM
tobiu closed this issue on Sep 28, 2023, 12:47 PM
tobiu referenced in commit d91c921 - "v6.7.3 (#4954) on Sep 28, 2023, 12:55 PM