Skip to content

Releases: myndpm/open-source

Conventional Releases

06 Oct 06:28
Compare
Choose a tag to compare
  • Release via GitHub Actions
  • Matchers and CSS classes working on the top level component per control
  • Examples extended and small bits of documentation completed

Breaking Provisioning

27 Aug 08:17
Compare
Choose a tag to compare

There was no backward compatible way to support the old provisioning of Controls, and a simpler+easier one was inevitable.

Now we can provide our array of custom components directly to DynFormsModule.forFeature({ controls })
and the library will extract the static Ids from the components, no need to bother with a provider object anymore 🎉

A schematic will be released soon to convert all the code with ng update @myndpm/dyn-forms@latest.

DynTreeNode searchUp and searchDown

03 Aug 03:00
Compare
Choose a tag to compare
  • Renamed DynControlType to DynControlId
  • Renamed node.query to node.searchUp
  • Renamed node.select to node.searchDown
  • Added node.search to search up and down recursively

Fix KeyValue DynOptions

31 May 03:45
Compare
Choose a tag to compare

Sync controls not synced with KeyValue options,
and fixed a syntax error in the DynModule schematic.

KeyValue Options

24 May 16:11
Compare
Choose a tag to compare

BREAKING CHANGE:
DynOption is now KeyValuePipe compliant,
please update your control options configs from { value: T, text: string } to { key: T, value: string }

This will be useful to have Map<T, string> passed as options
and looped inside the controls with options | keyValue:sortFn.

Error handlers and messages

10 May 07:02
Compare
Choose a tag to compare
Pre-release

Added support for error messages per control (config.errorMsg) and at form level (config.errorMsgs).
Check this source config to see how the serial field error-messages were configured.

Inline configuration for handlers

06 May 18:44
Compare
Choose a tag to compare
Pre-release

Validators, AsyncValidators, Matchers, Conditions and Control Functions
can be provided with inline functions inside the configuration, not just by id.

Schematics!

02 May 02:52
Compare
Choose a tag to compare
Schematics! Pre-release
Pre-release
  • Added schematics to create DynModules and DynControls:
ng generate @myndpm/dyn-forms:control --id=SLIDER --name=slider --prefix=dyn-mat
  --project=forms --path=libs/forms/ui-material/src/components
ng generate @myndpm/dyn-forms:module --name=DynFormsTaiga --prefix=dyn-tui
  --project=forms --path=libs/forms
  --controlName=input --id=INPUT