scripts/extensions/predefinedTextField/src/editor.tsx
Function render
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const selectedValue = this.props.value ?? '';
const options = this.props.config.options ?? [];
const allowSwitchingToFreeText = this.props.config.allowSwitchingToFreeText ?? false;