"Learning Activities" in DetailsTabView
: Set default values on file upload
#3373
Labels
Milestone
DetailsTabView
: Set default values on file upload
#3373
Observed behavior
According to the designs for the "Learning Activities" dropdown, there should be a default value set depending on the type of resource (audio, video, document).
PR #3370, the input for "Learning Activities" only allows the user to edit the "Learning Activities" input, but does not have a default set depending on kind.
Expected behavior
Setting the default should happen at file upload time instead.
User-facing consequences
Defaults are not currently set, and if this input is empty, an error shows up for the user.
Errors and logs
Additional information
I had originally used the getter for
learning_activities
inDetailsTabView
to determine the default based onthis.firstNode.kind
. However, some issues to note that occurred were:Because of this, we're tagging this as a follow-up issue that would finish the "Learning Activities" field (per specs) in the edit modal, and there is a connected issue for the backend to migrate data here.
The text was updated successfully, but these errors were encountered: