DEV Community

Cover image for Form Lib 1.9 released
Volker Schukai for schukai GmbH

Posted on • Edited on

2 1

Form Lib 1.9 released

Today we have released the latest edition of our Form Lib. Our library offers us the possibility to link forms with data. In addition, we have programmed here various controls that are not available in the standard.

Only the highlights are described here. The full functionality can be found in the documentation.

This release builds on Monster 1.28 and contains minor improvements in the handling of data sources.

Tree Select


const node = document.createElement('monster-treeselect');
node.setOption('url', 'data.json');
document.getElementById('container').appendChild(s);
Enter fullscreen mode Exit fullscreen mode

or

<monster-treeselect data-monster-url="data.json">
</monster-treeselect>
Enter fullscreen mode Exit fullscreen mode

Breaking Changes

We try to minimize breaking changes, but some changes are needed to improve workflows, performance, scalability, and more.

  • The new names for the templates of Select and Treeselect are now called labelTemplate and valueTemplate

hope you enjoy it!

References

Top comments (0)

11 Tips That Make You a Better Typescript Programmer

typescript

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay