VxFormGenerator.Core
VxInputBase.cs
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using System;
namespace VxFormGenerator.Core
{
///
/// Extended version of the allows for generated HTML ID attributes
///
///
public abstract clast VxInputBase : InputBase
{
private string id = Guid.NewGuid().ToString();
///
/// The html id attribute that could be used for the element
///
[Parameter] public string Id { get => id; set => id = value; }
}
}