i18n_yaml_editor icon indicating copy to clipboard operation
i18n_yaml_editor copied to clipboard

Don't add empty hash when sanitising numbers

Open wteuber opened this issue 6 years ago • 0 comments

When entering a non-numeric non-empty value in a field that is numeric, i18n_yaml_editor adds an empty hash to the parent node, e.g.

i18n2

It's okay to sanitise the value to 0. However, it should not add a new key.

wteuber avatar Sep 03 '18 15:09 wteuber