• Rafael Monnerat's avatar
    erp5_json_editor: Do not modify user inputed values · 08171a5c
    Rafael Monnerat authored
        The select must display the value regardless if it is the proper type or not, so we patch setValue to include the value even it is not present on enum (instead drop the value).
        Typecast patch was extended to not modify the data only convert to proper type if possible, otherwise, keep the wrong value.
    
        The goal is allow the user see the wrong value with the error message.
    08171a5c
json-editor.gadget.js.js 10.8 KB