design-react-kit icon indicating copy to clipboard operation
design-react-kit copied to clipboard

[FEATURE] Support numeric Input custom formats (currency, percentage, ...)

Open dej611 opened this issue 3 years ago • 6 comments

Describe the solution you'd like Extend the Input examples based on the original "numeric" Input Bootstrap Italia documentation: https://italia.github.io/bootstrap-italia/docs/form/input-numerico/#valuta

  • [ ] Extend the current Input component to handle specific styling
  • [ ] Add currency + percentage stories/examples
  • [ ] Match the disabled styling in the story/example
  • [ ] Make it work for the resizing story/example

Notes:

  • use BI classes to style the component.
  • minimize the amount of extra CSS to style in this component ( possibly creating a set of reusable react-select styles objects reusable

dej611 avatar Nov 27 '20 19:11 dej611

I would love to do this task, Please assign it to me @dej611

alammoiz avatar Oct 04 '21 08:10 alammoiz

Sure @alammoiz . Please target the migrate/storybook-6 branch.

dej611 avatar Oct 06 '21 07:10 dej611

The branch above has been merged. master is now the target branch.

dej611 avatar Oct 10 '21 16:10 dej611

Hi @alammoiz any update on this?

dej611 avatar Oct 11 '21 07:10 dej611

Hello @dej611, it seems to me that this issue is still relevant (no currency or percentage in the SB deploy). If so, I can try to implement it

baldoalessandro avatar Oct 06 '22 11:10 baldoalessandro

sure @baldoalessandro 👍

dej611 avatar Oct 07 '22 08:10 dej611

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please read https://github.com/italia/design-react-kit/discussions/886.

stale[bot] avatar Dec 11 '23 12:12 stale[bot]