sp-dev-fx-property-controls
sp-dev-fx-property-controls copied to clipboard
New control: PropertyFieldSizeWithUnit
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.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
@nsoeth - sorry for the long delay. It would be awesome if you submit a PR with this control! Will be happy to review!