[Enhancement] Affix functionality for kirby-input #2368
Labels
enhancement
New feature or request
NOT Prioritized
Issue not yet prioritized and added to a Milestone
NOT Tech refined
Needs Tech kickoff - solution outlined and agreed
Describe the enhancement
Increasingly there's a use for prefix and suffix elements on kirby-input.
Specific usecases:
Adding
kr
or similar as a suffixAdding the calculated age in years as a suffix.
Adding a loading indicator as a prefix when something is loading.
Describe the solution you'd like
Preferably add 2 more @input's to the kirby-input directive. Suffix input and prefix input.
The input should take a TemplateRef or a simple string. The simple string would should a default styled text while a TemplateRef would meet all other needs.
Have you considered any alternatives?
I have made a directive for our own project but preferably it should be a part of the kirby-input directive.
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Refinement
Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: