I’m trying to create shape rectangles with custom border colors. I see we can do that in web sdk v1 and the rest API, but we can’t with the miro web sdk v2.
https://developers.miro.com/reference/create-shape-item (we have the border color param)
https://developers.miro.com/docs/shape_shape-1 (we DO NOT HAVE any params for controlling border/outline)
Using websdk2, trying to create a shape with additional params not specified in the docs fails with error. but when using websdk1, it works.
My issues is related to: Text height not updating when programmatically creating Text widgets (https://community.miro.com/developer-platform-and-apis-57/bug-created-text-widget-s-height-is-incorrect-6483) I am experimenting with creating rectangles. If text would work fine, i would not try to hack away at the rectangle shape.
Thanks a lot for raising this, and you bring up some very valid feedback. As you suspected, our V2 SDK doesn’t yet support shape border styling like our V1 SDK did. However, it’s something that’s on our radar, and we do hope to be able to support this in V2 soon.
To keep up to date on our progress, you can actually subscribe to this already existing feature request on our developer roadmap here.
Regarding the text item height observations in this thread, thanks for bringing this back to light—I completely agree it’s something that needs to be addressed. I will raise this again with our team to see if we can get some more traction on it.