describo / crate-builder-component

A VueJS UI component to build an RO-Crate
MIT License
6 stars 3 forks source link

Red triangle is displayed when no required field is present #79

Closed beepsoft closed 9 months ago

beepsoft commented 9 months ago

If I navigate to a context entity which doesn't have any required fields at all the red triangle button still appears and pressing it has no effect, because there's no empty required property. This seems confusing. Would it be possible not to display the button in cases when it has no function?

image
marcolarosa commented 9 months ago

Ahh yeah - that was a bug. I fixed it today. Update your code and it should be gone.

marcolarosa commented 9 months ago

Just to add: I was working out whether there were required fields in tabbed layout but not in untabbed.

beepsoft commented 9 months ago

Great, thanks @marcolarosa, I close it then.