Search⌘ K

Enumeration Implementation Issues

Explore how to implement enumeration attributes in JavaScript using ES2015 class syntax. Learn to handle single and multi-valued enumerations in model classes, update validation, and integrate these attributes with user interface components. This lesson helps you build stronger, more flexible models for your front-end web applications without third-party libraries.

We'll cover the following...

This chapter covers how to build a front-end web application with enumeration attributes using plain JavaScript. We’ll also learn how to deal with multi-valued attributes because enumeration attributes are multi-valued in many cases.

New Issues

In addition to the complications in the validation application that we discussed earlier, the following new issues arise when implementing enumeration attributes:

  1. We replace the ES5
...