Sam Pohlenz
Sam Pohlenz
By field types, I mean which form fields are you currently using (or want to use) on the front end? Is it a `select` (i.e. a dropdown) or a plain...
Check out this comment (as well as the others in that thread): https://github.com/TrestleAdmin/trestle/issues/18#issuecomment-322739568 If you define that module and include in your ApplicationRecord class, it may get you at least...
I've just pushed some improvements to the `master` branch regarding the default handling of JSON attributes. Could you please give that a try and let me know if that works...
When using a multiple select you'll have to define a custom writer method, since the values will be coming in as an array of strings rather than a single string....
The `file_field` helper works the same as the corresponding Rails form helper (https://api.rubyonrails.org/v6.0.2.1/classes/ActionView/Helpers/FormHelper.html#method-i-file_field) so you can add support for multiple file uploads with: ```ruby file_field :attachments, multiple: true ``` Your...
This is an odd one. I can't see anything in the diff between `0.9.2` and `0.9.3` that could potentially be causing this. Do you see the `` element at all...
I understand. Perhaps you'd be able to share your `Gemfile` & `Gemfile.lock` from the problematic app? The only thing I can currently think of is that another gem is overriding...
Can you please try with the `rrt` gem disabled? I am unable to test it as I am not a customer. However it looks like it is possibly creating a...
The following is a little awkward but is the best approach I can find currently. The Hotwire/Stimulus updates I am currently working on should enable a better approach in future,...
@samnymr I would try updating the trigger line to: ```js Trestle.triggerInit(fields) ``` although I'm not certain that will be the issue. Do any JavaScript errors show up in your browser's...