Unexpected behavior when there is a single character surrounded by underscores

Hi,

I have used OOD 3.1.4. I’ve encountered what is probably a very minor bug, so I’d like to report it.

I want to make the “bb_c_dd” invisible, but the “bb_c_dd” is visible in the form.yml below.

---
form:
- aa
- bb_c_dd
attributes:
  aa:
    widget: select
    options:
      - [ "foo", "foo",	data-hide-bb-c-dd: true]
  bb_c_dd:
    widget: text_field

Now, if you change the name to something like “bb_cc_dd”, it will work as expected.

It seems that when the number of characters surrounded by underscores is 1, unexpected behavior occurs.

Best,

Hello, thank you for reporting this bug to us! I’ve been able to reproduce and have created a GH issue: