there are a few issues/typo in gov-dmv/.../demo_user.js:
- this line should be
$('input[name="confirm_password"]').val(user_data.password ? user_data.password : "");, otherwise there will be console err saying cannot read unknown property of password -- user_data doesn't have a property called attributes, thus when accessing user_data.attributes.password, it would be an unknown property.
- the
default_attributes here needs to add two more fields -- first_name and last_name, otherwise those two fields won't be auto-filled. (based on the logic here)
thanks.
there are a few issues/typo in
gov-dmv/.../demo_user.js:$('input[name="confirm_password"]').val(user_data.password ? user_data.password : "");, otherwise there will be console err saying cannot read unknown property of password -- user_data doesn't have a property calledattributes, thus when accessinguser_data.attributes.password, it would be an unknown property.default_attributeshere needs to add two more fields --first_nameandlast_name, otherwise those two fields won't be auto-filled. (based on the logic here)thanks.