Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

货币输入框 #2001

Open
Diluka opened this issue May 20, 2021 · 1 comment · May be fixed by ng-alain/delon#1259
Open

货币输入框 #2001

Diluka opened this issue May 20, 2021 · 1 comment · May be fixed by ng-alain/delon#1259

Comments

@Diluka
Copy link

Diluka commented May 20, 2021

What problem does this feature solve?

  1. 键入和显示的货币单位与数据实际货币单位的转换,比如货币单位显示为,数据单位为,输入1000,提取数据时应为:10
  2. 根据单位限制输入,也可配置,当输入时,只能输入整数;输入时,只能输入最多两位小数
  3. 货币符号或名称的显示
  4. 正负值的表示方式,正负号或者颜色
  5. 金额大写展示,根据实际,比如数据为1000,数据单位为,大写应为:人民币拾元整

What does the proposed API look like?

number组件上面扩展功能或者新来一个currency组件

@alain-bot
Copy link

alain-bot bot commented May 20, 2021

Translation of this issue:

Money input box

What proBLEES THIS Feature SOLVE?

  1. Type and display the conversion of the currency unit and the actual currency unit of the data, such as the currency unit is shown, the data unit is ``, enter 1000, extract data should be: 10`
  2. According to the unit restriction input, it can also be configured. When entering the division, you can only enter an integer; enter the yuan `, you can only enter the maximum number of decimals.
  3. Show of currency symbols or names
  4. Demographic mode, positive and negative value or color
  5. Gold amount uppercase show, according to actual, such as data is 1000, data unit is, uppercase should be: RMB pickup elevation

What does The proposed API Look Like?

Number components above extended features or new Currency components

cipchk added a commit to ng-alain/delon that referenced this issue Jun 1, 2021
@cipchk cipchk linked a pull request Jun 1, 2021 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants