Files
openfoodnetwork/app/webpacker/controllers
David Cook 7fe6f3fe89 Disable form elements in a disabled-section
I chose to use the 'elements' collection rather than choosing which elements to include (ie this supports inputs, textareas, buttons and anything else I didn't think of). It could be a bit simpler if we assume the element is a form. Even simpler if it's a fieldset (that has a disabled property). But I didn't want to limit it too much.

Unfortunately JS is quite ugly compared to Ruby. And 'prettier' made it uglier in my opinion.
2023-11-03 14:32:58 +11:00
..
2023-07-11 10:48:52 +02:00
2022-09-29 16:03:45 +02:00
2022-08-08 14:40:58 +10:00
2022-08-08 14:40:58 +10:00