Password and star-based rating inputs

Password is an enhanced input with a secured entry of characters, like any other password fields on the web, but it provides strength indicators (weak, medium, and strong), which states the security strength of the user input. A basic example of a user password can be written as follows:

<input pPassword name="basic" type="password" />

The following screenshot shows a snapshot result of a basic password example:

The password is applied to the input field by attaching the pPassword directive. The ngModel property is used to bind the password value.

By default, password will display the prompt and strength indicator labels. There is an option to customize all the strength indicator labels with the help of attributes such as promptLabel, weakLabel, mediumLabel, and strongLabel. This will be helpful in localizing the password input according to the need. By default, the feedback attribute is true. The indicator labels appear once it gets the focus or key strokes in the input. But this behavior is altered by setting the feedback as false, which suppress the indicators for the input.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.216.75