atomicdata-dev/atomic-server

Creating a resource via a resource selector always sets shortname

Polleps opened this issue · 0 comments

We set the shortname of the new resource based on the name that was entered in the input:

initialProps={{
  [urls.properties.shortname]: initialNewTitle,
}}

This should be core.properties.name for classes that have a name prop instead of shortname.

Also for classes that don't have any kind of title we should maybe just show a create <class> option without the users input text