sp-dev-fx-property-controls icon indicating copy to clipboard operation
sp-dev-fx-property-controls copied to clipboard

New control: PropertyFieldSizeWithUnit

Open nsoeth opened this issue 4 years ago • 2 comments

Category

  • [x] Enhancement
  • [ ] Bug
  • [ ] Question

Expected / Desired Behavior / Question

I created a webpart where I needed to let the user decide the width. Instead of having a number field and a dropdown with the unit I thought it would be cool if there was one control with two inputs which would consist of a number field and a dropdown with units which are configurable in the component properties. The result would then be concatenated (i.E. '300px').

I would be very happy to implement it, if accepted. And if somebody has a better name for it, I am open for it, too.

nsoeth avatar Jul 21 '21 11:07 nsoeth

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msftbot[bot] avatar Jul 21 '21 11:07 msftbot[bot]

@nsoeth - sorry for the long delay. It would be awesome if you submit a PR with this control! Will be happy to review!

AJIXuMuK avatar Jan 08 '22 17:01 AJIXuMuK