Open MitchellNZ opened 7 months ago
Was just reading over some of the other issues in more detail and noticed #39 is almost exactly the same as my first example! Sorry for the duplication, but my second example for custom handlers would still help my situation a lot also.
For some additional context, I would love to roll this out into a production app (feature flagged for more advanced users and testing at this stage), but am stuck doing so until I can provide reliable results for all MudBlaozr
form components, and my other issue (#44) has been addressed.
Overview
Question
Could it be possible to have alternative ways of using of describing fields to
SmartPaste
?Two possible ideas I have are:
Context
I'm using the MudBlazor component library for my controls, and while
SmartPaste
works well with MudTextField, but I'm struggling to get good results with other form controls (like MudSelect).Examples
Without knowing much about how the controls currently work.. this is the kind of thing I was thinking of.
Binding Example
Model using custom
DataAnnotations
Component
Custom Handlers Example
For more advanced custom handlers of results returned post AI processing. This could also be used in conjunction with the default behaviour of processing the form fields.