aurelia / aurelia/framework

Possibility for a global value convertor

Open
#824 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
11.7k
Forks
608
PR merge metrics
No merged PRs in 30d

Description

Hello All

In reference to this issue here https://github.com/aurelia/framework/issues/288

We basically want to apply a global value converter to all bindings which will ensure empty strings are always saved into the model as null. This would prevent the need to constantly mark each bind with
| NullToEmptyStringValueConverter

Is their any current way to achieve this?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked issue #288 and Aurelia's binding and value-converter entry points to determine whether a global converter is supported. Confirm the intended behavior: converting empty strings to null for all bindings without per-binding annotations, then document the supported approach or define the scope of a feature change.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.