@uiowa/uiowa-mfk
v13.3.1
Published
mfk, uiowa-mfk, uiowa-favorite-mfk, mfk-string
Downloads
41
Readme
UIowa Mfk
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 >=12 and @uiowa/digit-only, as of Nov, 2021. The version number of this library is following the major and minor version of Angular.
Demo
Features
uiowa-mfk-input
component- 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 jump to the previous field in the MFK input component when hit Backspace 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-mfk-string
component- Show MFK string in a
<span>
tag. - Auto detect BRF field in the string.
- Show MFK string in a
mfkString
pipe andwhoKeyString
pipe
Other possible features
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.
split-cost
- Allow to add one or more MFKs and set their percentages.
- Allow to edit/delete MFKs and their percentages.
- Check if the total percentage is 100%.