hilla icon indicating copy to clipboard operation
hilla copied to clipboard

[autocrud] The save button should say what it will do, not 'submit'

Open Artur- opened this issue 1 year ago • 1 comments

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

Artur- avatar Oct 03 '23 06:10 Artur-

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.

DarioArena87 avatar Feb 16 '24 17:02 DarioArena87