export default function metaForField(content, fieldName) {
  if (!content) { return; }

  try {
    return content.constructor.metaForProperty(fieldName);
  } catch (err) {
    return;
  }

}


import { camelize } from "@ember/string";

export default function metaForField(content, fieldName) {
  if (!content) { return; }

  fieldName = camelize(fieldName);
  try {
    return content.constructor.metaForProperty(fieldName);
  } catch (err) {
    return;
  }

}


Fix field editors not appearing for field names that contain dashes
Fix field editors not appearing for field names that contain dashes
