Updates forms to accept Enter key submit

This commit is contained in:
BinaryAlley committed 2024-11-16 21:53:11 +02:00
1 parent e0498bc303
commit dbd11acb97
7 files changed
+89 -34

No files matched your search

@@ -9,13 +9,11 @@ namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to add a media library.
/// </summary>
/// <param name="UserId">The Id of the user owning the media library. Required.</param>
/// <param name="Title">The title of the media library. Required.</param>
/// <param name="LibraryType">The type of the media library. Required.</param>
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located. Required.</param>
[DebuggerDisplay("Title: {Title}")]
public record AddLibraryRequest(
Guid UserId,
string? Title,
LibraryType? LibraryType,
string[]? ContentLocations