-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension for typiCMS #154
Comments
Hello, thanks for sharing. I will try it when I have some time, but yes it's a good idea to make it a plugin. |
Great work Visemort! Reusable repeatables are needed feature! The only problem i got was getting error, when trying to add multiinput while creating item by clicking "Add" button. This is error i am getting https://jmp.sh/yS0T6bC After item is created, it works nicely in edit mode (didn't try all the features yet). Only thing that i see for improvement would be adding some visual/usability tweaks, like padding between fields and cards and maybe zebra colored rows? Thanks for your work! |
For more distinctive title (it is different section with subsections after all) you can add class="h4" to your multiinput-header -> label then it will look like this https://jmp.sh/SMGlF2C |
Thank You!
Can you describe when the error occurs. I'm trying to repeat it..
Yes, a good idea
Yes, may be h4 or h5. And one can put component to other tab on a form. |
What i did was clean Typicms install, then created products module via artisan. then applied instruction from your readme. `<?php define('MULTIINPUT_STATUS_WAITING', 0); $activeLabels = [ return [
]; The error is only when inserting new row in products table. When i edit existing row - working nicely. |
Its not a big problem since i could only show this field in admin, when editing a product record |
Error is fixed. It is need to update a model class (see update in manual) |
Great work! |
Hi! Thank you! |
Visemort, everything is working nicely so far except one thing with dropdown. I can't get it to have selected item and admin dropdown is not remembering selected value. All works nicely if i define dropdown in config. But when i override it from view, it reneders dropdown options but none is selected. it save to database correctly but not reading selected value. here is the code (i also tried with your example templates code - same result).
|
Hello. |
You are right, this way its working perfect! Thank you! |
Hello! Extension https://packagist.org/packages/visermort/typimultiinput
Is it useful do you think? How could it be improved?
The text was updated successfully, but these errors were encountered: