Skip to content

Releases: comentality/xrm-plain-number

Release list

v0.1.0

Choose a tag to compare

@skfd skfd released this 09 Sep 18:33

Model-driven app controls that show and edit a Whole Number without a thousands separator. For years: 2024, not 2,024.

  • Plain Number shows and edits a Whole Number column without a thousands separator, so a year reads 2024, not 2,024. Field control for forms, no settings. Typed text keeps its digits and drops everything else on commit.
  • Plain Number Grid renders every whole-number cell of a table's views and subgrids without a separator. Grid customizer for the Power Apps grid control, assigned once per table, no settings, no network calls.

Install

Import xrm-plain-number-0.1.0-managed.zip (or the unmanaged zip) into your environment, then follow docs/usage.md: add Plain Number to a form column; to cover views, assign Plain Number Grid as the table's grid customizer.

Vendor instead

Each control is two files. xrm-plain-number-0.1.0-source.zip holds them with VENDORING.md, or fetch straight from the repo:

npx degit comentality/xrm-plain-number/PlainNumber/PlainNumber           PlainNumber/PlainNumber
npx degit comentality/xrm-plain-number/PlainNumberGrid/PlainNumberGrid   PlainNumberGrid/PlainNumberGrid

Requirements and caveats

  • Platform libraries React 16.14.0 and Fluent 9.46.2 (newer Fluent versions are rejected on import).
  • A view cannot carry a field control on a column; that is why the grid side is a customizer. Only one grid customizer can be assigned per table.
  • Public domain, CC0 1.0. No attribution required.