Closed DaveGreasley closed 7 years ago
This is pretty simple and works for standard input fields but does not take in to account more complicated property editors.
To use this I am setting the IsReadOnly property inside the handler for the FilterLanguages event:
Vorto.FilterLanguages += (sender, args) => { args.Languages.First(x => x.IsoCode == "en-GB").IsReadOnly = true; };
This only really works for basic form inputs, closing PR until I find a way for all
This is pretty simple and works for standard input fields but does not take in to account more complicated property editors.
To use this I am setting the IsReadOnly property inside the handler for the FilterLanguages event: