Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !397

[renderjs_ui] Refactor FloatField and fix HTML5 Input

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Tomáš Peterka requested to merge hotfix/rjs-floatfield into master Sep 19, 2017
  • Overview 4
  • Commits 5
  • Pipelines 0
  • Changes 6

FloatField

  • Put back default minimal step necessary for field validation
  • Remove field_json.value because that one is never send by ERP5 backend
  • Set comprehensive initial state and avoid sneaking state variables afterwards
  • Handle better NaNs which represent empty numerical value
  • Refactor for shorter and simpler code
  • Rename "percents" -> "percentage" according to coding style guidelines

HTML5 input is not naive about missing values

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hotfix/rjs-floatfield
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7