I noticed that the query-inclusion option is singular in forms and plural in reports, is that intentional?
Probably not. I was probably thinking that a report has many rows, therefore plural, but I think you're talking about the report itself, not the row inclusion
So it was probably just that confusion in my own mind at the moment where I named it
Some sc elements (e.g. transition) don't seem to retain their :id while others do. Is there a reason for that or is it a small bug?
I don’t understand “transition”….but I don’t use sc heavily, so it could have an undiscovered bug
I have a cardinality one file ref attribute in a subform with {:ref-container :file} layout style that renders a TODO message.
I see the render-single-file function is incomplete in the com.fulcrologic.rad.rendering.semantic-ui.form with an Upload??? (TODO) string. Wondering if I should be using that renderer for cardinality one file ref?
PR submitted for the single file ref UI - https://github.com/fulcrologic/fulcro-rad-semantic-ui/pull/46
thanks
The UI plugin is not meant to be a complete work…it’s meant to show you a pattern of implementation that you can expand upon…anything I haven’t gotten to is left as an exercise for the user. My goal in RAD is the patterns, not the nitty-gritty do-everything-for-you details.
I’m well aware that the SUI RAD plugin looks like 💩
but no matter how pretty I make it, you’d still want something different in reality…so why waste my time? 😄
for file upload you probably want drag-n-drop with some damn animation and file stats and upload progress and…
so I kind of just “gave up”…because you also need the proper Ring middleware, etc. All the bits are there, you just have to assemble them, and I think you found that something like the to-many is already implemented? Don’t remember…but between the Fulcro book explaining how to do uploads and RAD’s patterns I fully expect anyone can get it to be what they want.
If you want to contribute back a “stock” implementation, happy to take it 😄
I switched to the blob/defblobattr temporarily to test out the model and form. I’ll try to commit a fix.
you are welcome.