Files
openfoodnetwork/app/webpacker
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-05-21 00:15:32 +01:00
2021-12-27 17:45:05 +00:00
2023-01-27 12:45:46 +11:00
2023-09-15 10:47:43 +02:00