LearnNewsExamplesServices
Frontmatter
id1868
titlevdom.Helper: update() => changing the value of dom attributes
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 25, 2021, 1:17 PM
updatedAtApr 25, 2021, 1:18 PM
githubUrlhttps://github.com/neomjs/neo/issues/1868
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 25, 2021, 1:18 PM

vdom.Helper: update() => changing the value of dom attributes

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 25, 2021, 1:17 PM
if (Neo.isEmpty(value)) {
    // ignore empty arrays & objects
}

this part should allow empty strings.

use case: manually setting the value of a textfield to ''.

the clear trigger would set it to null, but in case you bind the value to a vm, empty strings can not result in deltas without the change.

tobiu added the enhancement label on Apr 25, 2021, 1:17 PM
tobiu assigned to @tobiu on Apr 25, 2021, 1:17 PM
tobiu referenced in commit a30c96d - "vdom.Helper: update() => changing the value of dom attributes #1868" on Apr 25, 2021, 1:18 PM
tobiu closed this issue on Apr 25, 2021, 1:18 PM