mirror of https://github.com/zulip/zulip.git
72dd5bfa77
`get_input_element_value()` function is more reliable to detect the input element type and extract it's value. But the current way of setting the value of input elements relies on first checking the `property_value` type. Which is fine, but for the cases when the property value is null, and we want to set element value as empty, this method will throw an error as it's unable to detect the appropriate element type. This new function `set_input_element_value` first rely on property value and then use `setting-widget-type` as a fallback. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.eslintrc.json | ||
.gitignore | ||
favicon.ico |