For a running example perhaps you should take a look on the Merchello project. They are enable/disable property Input in backofficefor there product editation on variants for example. You can also find the Merchello package https://our.umbraco.org/projects/collaboration/merchello
Thaks Jan & Dennis. I really need to delve into Angular as I haven't touched it yet (not enough hours in the day). Thank you for the links, I will check it out.
You're welcome - Yeah it can be hard keeping up with all that new stuff sometimes. But once you find some time I think you'll get up to speed pretty quickly.
Enable/Disable Property Input in Admin
Hi,
What is the easiest way to have certain properties inputs disabled in the admin and then become enabled if a checkbox is selected.
For instance say I have a checkbox called "Show related pages" and a text box "Related tags".
I want the "Related tags" input to be disabled or invisible until the user ticks the "Show related pages" checkbox.
Is there an easy way to do this?
Hi Mike
The only way to achieve this kind of thing would be to use a custom property editor I think - So you'll need to make it using AngularJS.
/Jan
...Forgot to reference the workbook where you can learn more about how to create a property editor https://github.com/umbraco/AngularWorkbook
Hope this helps.
/Jan
Hi Mike,
For a running example perhaps you should take a look on the Merchello project. They are enable/disable property Input in backofficefor there product editation on variants for example. You can also find the Merchello package https://our.umbraco.org/projects/collaboration/merchello
Merchello is open source and is available on GitHub so you could try to dive into the code and see how they do it https://github.com/Merchello/Merchello
Hope this helps,
/Dennis
Thaks Jan & Dennis. I really need to delve into Angular as I haven't touched it yet (not enough hours in the day). Thank you for the links, I will check it out.
Hi Mike
You're welcome - Yeah it can be hard keeping up with all that new stuff sometimes. But once you find some time I think you'll get up to speed pretty quickly.
Have fun reading :)
/Jan
is working on a reply...