viewer-components-react icon indicating copy to clipboard operation
viewer-components-react copied to clipboard

Property widget: Update test-viewer to use the new property editor system

Open grigasp opened this issue 5 months ago • 3 comments

Currently we're defaulting to the legacy one...

Prerequisite: https://github.com/iTwin/appui/pull/1386

Related discussion: https://github.com/iTwin/viewer-components-react/pull/1407#discussion_r2276054205

grigasp avatar Aug 18 '25 05:08 grigasp

Is this a possible reason why properties that use formatted values don't show up unless I double click the property field? As shown on main branch, before double clicking:

Image

After double clicking:

Image

hl662 avatar Sep 23 '25 20:09 hl662

Is this a possible reason why properties that use formatted values don't show up unless I double click the property field?

Unlikely - read-only renderers are completely separate from editor components.

BTW, I just tried and see that read-only renderers do show formatted values: Image

Are you sure what you're seeing is not just a placeholder?

grigasp avatar Sep 24 '25 05:09 grigasp

Ahh, that's my bad, it was indeed a placeholder, I was just confused with how one application's selection tool behaved differently from the test-viewer's - that application selects more elements to supply to the property grid than the test viewer

hl662 avatar Sep 24 '25 13:09 hl662