UIowa Mfk
![npm](https://img.shields.io/npm/v/@uiowa/uiowa-mfk.svg?style=flat-square)
uiowa-mfk
is a full-fledged Angular library for MFK input. Based on this library, the demo app shows some common configurations of MFK inputs, validations, and Favorite MFK management. This library has peer dependency on Angular >=10, Bootstrap 4.5 (css) and @uiowa/digit-only, as of Nov, 2020. The version number of this library is following the major and minor version of Angular.
Features
-
uiowa-mfk-input
- Number only input fields with fixed lengths.
- Smartly handle paste strings for input fields.
- Auto fill 0s in the MFK input field when hit Tab key.
- Auto focus next fields when current MFK input field is full.
- Allow set field(s) default value(s).
- Allow set readonly field(s).
- Provide MFK common methods.
- Provide MFK validation method and service.
- Provide MFK change event API.
-
uiowa-favorite-mfk
- Select Favorite MFK and show it in MFK input.
- Clear MFK input.
- Real-time indication for determine if an MFK is "favorite" or not.
- Add/Remove Favorite MFK.
- Provide Favorite MFK common methods.
- Provide Favorite MFK crud service.
- Provide Favorite MFKs change event API.
-
uiowa-mfk-string
- Show MFK string in a
<span>
tag. - Auto detect BRF field in the string.