hilla
hilla copied to clipboard
[autocrud] The save button should say what it will do, not 'submit'
When used as part of AutoForm
, submit
makes sense. When used as part of a crud, it should be either "Update" or "Add" depending on what the user is doing
In my opinion, it would be beneficial if all the supplementary features of AutoCrud were customizable as well. I've searched in the documentation and examined the Hilla source code, but it doesn't appear that there's a straightforward method to modify elements such as the text on buttons (for instance, for translation purposes) or the content of the confirmation dialog when deleting items. Additionally, providing the ability to disable the deletion confirmation dialog altogether (maybe through a boolean prop on AutoCrud itself) to me could enhance flexibility for different usage scenarios.