allianz / ng-aquila

Angular UI Component library for the Open Insurance Platform
https://allianz.github.io/ng-aquila/
Other
209 stars 36 forks source link

Injection token for the configuration of strict date input parsing #57

Closed timonsommer closed 1 year ago

timonsommer commented 1 year ago

Strict date parsing injection token

đŸŽ¯ Goals

The goal is to have an injection token that can be used to enable or disable strict parsing for date inputs, similar to the token implemented here. This would make it easier to configure date input parsing without having to pass the values to the referring component by means of input properties.

📖 References

NxDatefield documentation example on strict parsing NxDatefield inputs

👌 Requirements

The token should be of the boolean type so that its value can be relayed to the nxStrict attribute of the nxDatefield directive.

ℹī¸ Details