Skip to content

fix: Enter a number with two places of decimal directly and limit input maximum

Calvin Yu请求将github/fork/weili520/podQuota合并到master

Created by: weili520

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes ##2102 (closed)

Special notes for reviewers:

(1) now, we can enter a number with two places of decimal, eg: 0.02, 3.23.

https://user-images.githubusercontent.com/33231138/127299025-64cb4586-7486-4b96-b6e1-664398ae7ef8.mov

(2) we can not input a number bigger than 8, the maximum is from the props, it 's default value is 4(cpu)/8000(memory)

https://user-images.githubusercontent.com/33231138/127299064-87ec9fd8-f47e-4b1d-bf7f-a394c3bb3b79.mov

Additional documentation, usage docs, etc.:

Does this PR introduced a user-facing change?

fix: enter a number with two places of decimal directly and limit input maximum. (#2102, @weili520  )

合并请求报告

加载中