Myndpm Open Source Versions Save

Open Source Angular Libraries contributed by @myndpm

@myndpm/[email protected]

1 year ago
  • Release via GitHub Actions
  • Matchers and CSS classes working on the top level component per control
  • Examples extended and small bits of documentation completed

@myndpm/[email protected]

1 year ago

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 :tada:

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

@myndpm/[email protected]

1 year ago
  • 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

@myndpm/[email protected]

2 years ago

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

@myndpm/[email protected]

2 years ago

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.

@myndpm/[email protected]

3 years ago

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.

@myndpm/[email protected]

3 years ago

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

@myndpm/[email protected]

3 years ago
  • 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